From a454547b833c9f311fe90fbc35da8c351e54d959 Mon Sep 17 00:00:00 2001 From: David Hickman Date: Mon, 8 Apr 2019 12:58:54 -0500 Subject: [PATCH] cgr only --- .travis.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 53c9522..0dc4880 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 - |