Merge pull request #445 from creative-commoners/pulls/2.4/travis-php7

Add PHP7 + SS3.6 build to Travis configuration
This commit is contained in:
Daniel Hensby 2017-06-18 01:03:00 +01:00 committed by GitHub
commit e737cd818b

View File

@ -21,8 +21,6 @@ env:
- MODULE_PATH=blog - MODULE_PATH=blog
matrix: matrix:
allow_failures:
- php: hhvm-nightly
include: include:
- php: 5.6 - php: 5.6
env: DB=MYSQL COVERAGE=1 env: DB=MYSQL COVERAGE=1
@ -38,14 +36,14 @@ matrix:
env: DB=SQLITE env: DB=SQLITE
- php: 5.3 - php: 5.3
env: DB=MYSQL env: DB=MYSQL
- php: hhvm - php: 7.1
env: DB=MYSQL env: DB=MYSQL CORE_RELEASE=3.6
before_script: before_script:
- phpenv rehash - phpenv rehash
- composer self-update || true - composer self-update || true
- 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
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require "silverstripe/comments" --require "silverstripe/widgets" - php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require "silverstripe/comments" --require "silverstripe/widgets"
- cd ~/builds/ss - cd ~/builds/ss