Set up Travis to check combinations that all work

This commit is contained in:
Stephen Paul Weber 2018-07-25 14:45:16 -05:00
parent aeb919abc3
commit 575baaf3f2

View File

@ -1,9 +1,9 @@
language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
- 5.6
- hhvm
dist: trusty
@ -23,10 +23,29 @@ env:
- PHPSECLIB="2.0.11"
matrix:
allow_failures:
exclude:
- php: 7.1
- env: PHPSECLIB="2.0.0"
- php: 7.2
- env: PHPSECLIB="2.0.0"
- php: 7.1
- env: PHPSECLIB="2.0.1"
- php: 7.2
- env: PHPSECLIB="2.0.1"
- php: 7.1
- env: PHPSECLIB="2.0.2"
- php: 7.2
- env: PHPSECLIB="2.0.2"
- php: 7.1
- env: PHPSECLIB="2.0.3"
- php: 7.2
- env: PHPSECLIB="2.0.3"
- php: 7.2
- env: PHPSECLIB="2.0.4"
- php: 7.2
- env: PHPSECLIB="2.0.5"
- php: 7.2
- env: PHPSECLIB="2.0.6"
fast_finish: true
before_script: 'sed -i "s/\"phpseclib\/phpseclib\": \"[^\"]*/\"phpseclib\/phpseclib\": \"$PHPSECLIB/" composer.json && composer install --prefer-source --dev'