Skip to content

Commit

Permalink
Merge pull request #8 from carusogabriel/patch-1
Browse files Browse the repository at this point in the history
Test against PHP 7.2
  • Loading branch information
mnapoli authored Dec 1, 2017
2 parents 5335193 + 251336f commit 9a7be9a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ notifications:
php:
- 7.0
- 7.1
- 7.2
- nightly

matrix:
Expand All @@ -19,14 +20,13 @@ matrix:
- php: 7.0
env: dependencies=lowest

cache:
directories:
- $HOME/.composer/cache

before_script:
- if [[ $(phpenv version-name) == '7.1' ]]; then composer require satooshi/php-coveralls:dev-master -n ; fi
- if [[ $(phpenv version-name) != '7.1' ]]; then composer install -n ; fi
- composer install -n
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-stable -n; fi;

script:
- if [[ $(phpenv version-name) == '7.1' ]]; then vendor/bin/phpunit --coverage-clover clover.xml ; fi
- if [[ $(phpenv version-name) != '7.1' ]]; then vendor/bin/phpunit ; fi

after_script:
- if [[ $(phpenv version-name) == '7.1' ]]; then php vendor/bin/coveralls -v ; fi
- vendor/bin/phpunit

0 comments on commit 9a7be9a

Please sign in to comment.