Use phpcs config file on travis builds.
parent
571129443f
commit
fb09ec86b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue