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

View File

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