Skip to content

Commit

Permalink
cgr only
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHickman committed Apr 8, 2019
1 parent f706369 commit a454547
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,17 @@ before_script:
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- |
case "$TRAVIS_PHP_VERSION" in
5.6|5.5|5.4|5.3)
composer global require "phpunit/phpunit:^4"
5.6|5.5|5.4|5.3|5.2)
composer global require consolidation/cgr
PATH="$(composer config -g home)/vendor/bin:$PATH"
cgr "phpunit/phpunit:^4"
;;
5.2)
;;
;;
*)
composer global require "phpunit/phpunit:6"
composer global require consolidation/cgr
PATH="$(composer config -g home)/vendor/bin:$PATH"
cgr "phpunit/phpunit:^6"
;;
esac
- |
Expand Down

0 comments on commit a454547

Please # to comment.