Skip to content

Commit

Permalink
Travis config updates: target phpunit7 for php 7.1 or above
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrem committed Apr 24, 2020
1 parent 819d20f commit 85ab6d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ php:
- 7.2
- 7.3

install:
- if [[ $TRAVIS_PHP_VERSION > '7.1' ]]; then wget -O ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit https://phar.phpunit.de/phpunit-7.phar; fi
- if [[ $TRAVIS_PHP_VERSION > '7.1' ]]; then chmod 755 ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit; fi


before_script:
- phpunit --version
- composer self-update
Expand Down

0 comments on commit 85ab6d7

Please sign in to comment.