Merge pull request #309 from danhunsaker/suggest/matrix-exclude

Use Matrix Exclude instead of hard-coded matrix
This commit is contained in:
Chris Boulton 2016-10-15 01:14:44 -07:00 committed by GitHub
commit 5246a84868

View File

@ -1,16 +1,15 @@
language: php language: php
php:
- 5.6
- 7.0
- hhvm
matrix: matrix:
include: exclude:
- php: 5.6
env: ENABLE_REDIS_EXT=0
- php: 5.6
env: ENABLE_REDIS_EXT=1
- php: 7.0
env: ENABLE_REDIS_EXT=0
- php: 7.0
env: ENABLE_REDIS_EXT=1
- php: hhvm - php: hhvm
env: ENABLE_REDIS_EXT=0 env: ENABLE_REDIS_EXT=1
env:
- ENABLE_REDIS_EXT=0
- ENABLE_REDIS_EXT=1
before_script: before_script:
- sh -c "if [ $ENABLE_REDIS_EXT -eq 1 ]; then echo \"extension=redis.so\" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi" - sh -c "if [ $ENABLE_REDIS_EXT -eq 1 ]; then echo \"extension=redis.so\" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi"
- composer install - composer install