Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark authored Mar 27, 2017
1 parent e94e2cc commit de79732
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit de79732

Please sign in to comment.