From a5edf03a14d0c08eab45d9cb610fd747f44bd35e Mon Sep 17 00:00:00 2001 From: Daniel Mason Date: Fri, 25 May 2018 19:34:10 +1200 Subject: [PATCH] Tidy travis.yml file --- .travis.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2ad691d..00f0ced 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,13 +4,7 @@ php: - 7.1 - 7.2 - hhvm -matrix: - exclude: - - php: hhvm - env: ENABLE_REDIS_EXT=1 -env: - - ENABLE_REDIS_EXT=0 - - ENABLE_REDIS_EXT=1 + before_script: - - sh -c "if [ $ENABLE_REDIS_EXT -eq 1 ]; then echo \"extension=redis.so\" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi" + - echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - composer install