Only env can matrix

This commit is contained in:
Stephen Paul Weber 2016-07-26 19:01:18 -05:00
parent 02fbcbf7e6
commit 46ec5079e8

View File

@ -8,7 +8,8 @@ php:
- hhvm
# - nightly
matrix:
include:
- install: composer install --prefer-source --dev
- install: "sed -i 's/\"phpseclib\\/phpseclib\": \"[^\"]*/\"phpseclib\\/phpseclib\": \"2.0.0/' && composer install --prefer-source --dev"
env:
- PHPSECLIB="^2.0"
- PHPSECLIB="2.0.0"
before_script: 'sed -i "s/\"phpseclib\/phpseclib\": \"[^\"]*/\"phpseclib\/phpseclib\": \"$PHPSECLIB/" composer.json && composer install --prefer-source --dev'