Skip to content

Commit

Permalink
add PHP7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacePossum authored Apr 19, 2018
1 parent 9b39aa2 commit 168b698
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ matrix:
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest""
- php: 7.1
env: COMPOSER_FLAGS="--prefer-stable"
- php: 7.2
env: COMPOSER_FLAGS="--prefer-stable"
- php: nightly
env: COMPOSER_FLAGS="--dev --ignore-platform-reqs"
- php: hhvm-nightly
Expand All @@ -35,3 +37,4 @@ script:
- vendor/bin/phpunit --verbose
- if [[ $TRAVIS_PHP_VERSION = 7.0 ]]; then php php-cs-fixer.phar --dry-run -vvv fix; fi
- if [[ $TRAVIS_PHP_VERSION = 7.0 ]]; then files_with_trailing_spaces=`find . -type f -not -path "./.git/*" -not -path "./vendor/*" -not -name "php-cs-fixer.phar" -exec egrep -nH " $" {} \;` && [[ $files_with_trailing_spaces ]] && echo $files_with_trailing_spaces && travis_terminate 1 || echo "No trailing spaces detected."; fi

0 comments on commit 168b698

Please sign in to comment.