Skip to content

Commit

Permalink
Merge pull request #498 from cakephp/phpunit
Browse files Browse the repository at this point in the history
Fix PHPUnit requirement
  • Loading branch information
dereuromark authored Feb 21, 2017
2 parents fca7212 + b9d6b08 commit a42325d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ matrix:
before_script:
- if [[ $PHPCS = 1 ]]; then composer require cakephp/cakephp-codesniffer:~2.1; fi
- if [[ $PHPCS != 1 ]]; then composer install; fi
- if [[ $PHPCS != 1 ]]; then composer require phpunit/phpunit:"^5.7|^6.0"; fi
- if [[ $PHPCS != 1 ]]; then composer run-script post-install-cmd --no-interaction; fi

script:
- if [[ $PHPCS != 1 ]]; then phpunit; fi
- if [[ $PHPCS != 1 ]]; then vendor/bin/phpunit; fi
- if [[ $PHPCS = 1 ]]; then vendor/bin/phpcs -p --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests ./config ./webroot; fi

notifications:
Expand Down

0 comments on commit a42325d

Please sign in to comment.