Merge pull request #282 from creative-commoners/pulls/1.3/travis-php7

Add PHP7 + SS3.6 build to Travis configuration
This commit is contained in:
Daniel Hensby 2017-06-15 17:00:11 +01:00 committed by GitHub
commit 83b0afe4d4
1 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
language: php
@ -8,7 +8,7 @@ php:
- 5.4
env:
- DB=MYSQL CORE_RELEASE=3.2
- DB=MYSQL CORE_RELEASE=3.5
matrix:
include:
@ -17,12 +17,14 @@ matrix:
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.4
env: DB=MYSQL CORE_RELEASE=3.2 BEHAT_TEST=1
env: DB=MYSQL CORE_RELEASE=3.5 BEHAT_TEST=1
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.6
before_script:
- composer self-update
- phpenv rehash
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
- "if [ \"$BEHAT_TEST\" = \"\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss; fi"
- "if [ \"$BEHAT_TEST\" = \"1\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/behat-extension; fi"
- cd ~/builds/ss