Tidy travis.yml file

This commit is contained in:
Daniel Mason 2018-05-25 19:34:10 +12:00
parent ae84530132
commit a5edf03a14

View File

@ -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