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