1
0
Fork 0

Use phpcs config file on travis builds.

pull/107/head
ADmad 2016-10-23 17:16:56 +05:30 committed by Felix Becker
parent 571129443f
commit fb09ec86b2
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ script:
- if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION != 7.0 ]]; then vendor/bin/phpunit; fi
- if [[ $PHPCS = 1 ]]; then vendor/bin/phpcs -p --extensions=php --standard=PSR2 ./src ./tests; fi
- if [[ $PHPCS = 1 ]]; then vendor/bin/phpcs -p --extensions=php --standard=phpcs.xml.dist ./src ./tests; fi
after_success:
- if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION = 7.0 ]]; then bash <(curl -s https://codecov.io/bash); fi