Skip to content

Commit

Permalink
Run tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 28, 2019
1 parent 3cb4890 commit 91875cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ php:

matrix:
fast_finish: true
global:
- DEFAULT=1

include:
- php: 7.3
Expand All @@ -25,7 +27,7 @@ install:
- composer install --prefer-dist --no-interaction --dev

script:
- sh -c "if [ '$PHPCS' != '1' && '$COVERAGE' != '1' ]; then phpunit; fi"
- sh -c "if [ '$DEFAULT' = '1' ]; then phpunit; fi"

- sh -c "if [ '$PHPCS' = '1' ]; then vendor/bin/phpcs -p --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests; fi"

Expand Down

0 comments on commit 91875cf

Please sign in to comment.