Add PHP7 + SS3.6 build to Travis configuration

This commit is contained in:
Robbie Averill 2017-06-15 10:04:03 +12:00
parent f27b357b06
commit 92cdf19231
1 changed files with 4 additions and 6 deletions

View File

@ -11,15 +11,13 @@ php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
before_install:
- pip install --user codecov
env:
global:
- DB=MYSQL CORE_RELEASE=3.1
- DB=MYSQL CORE_RELEASE=3.5
- MODULE_PATH=comments
# Set to 1 in the matrix to enable code coverage
@ -36,13 +34,13 @@ matrix:
env: DB=MYSQL CORE_RELEASE=3.1
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.2
allow_failures:
- php: 7.0
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.6
before_script:
- phpenv rehash
- 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
# Install suggested modules in order to maximize test coverage
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require "ezyang/htmlpurifier:4.*,silverstripe/cms:~3.1"
- cd ~/builds/ss