diff --git a/.travis.yml b/.travis.yml index 3fd9b5a..2b106ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,13 +7,14 @@ php: - 5.5 - 5.6 - 7.0 + - 7.1 - hhvm matrix: fast_finish: true include: - - php: 5.6 + - php: 7.0 env: PHPCS=1 DEFAULT=0 before_script: @@ -22,7 +23,7 @@ before_script: script: - phpunit - - sh -c "if [ '$PHPCS' = '1' ]; then vendor/bin/phpcs -p --extensions=php --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --ignore=vendor --ignore=tests/test_files/ . ; fi" + - if [[ $PHPCS == 1 ]]; then vendor/bin/phpcs -p --extensions=php --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --ignore=vendor/,tests/test_files/ . ; fi matrix: allow_failures: