Add PHP7 + SS3.6 build to Travis configuration

This commit is contained in:
Robbie Averill 2017-06-15 11:04:45 +12:00
parent f8095efcb3
commit 4fd0638913

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
sudo: false sudo: false
@ -6,7 +6,6 @@ language: php
php: php:
- 5.6 - 5.6
- 7.0
env: env:
global: global:
@ -17,14 +16,15 @@ env:
matrix: matrix:
include: include:
- php: 5.6 - php: 5.6
env: DB=MYSQL CORE_RELEASE=3 env: DB=MYSQL CORE_RELEASE=3.5
- php: 5.6 - php: 5.6
env: DB=PGSQL CORE_RELEASE=3 env: DB=PGSQL CORE_RELEASE=3.5
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.6
# Allowed to fail, meaning delayed code coverage reports # Allowed to fail, meaning delayed code coverage reports
- php: 5.5.9 - php: 5.5.9
env: DB=MYSQL CORE_RELEASE=3 COVERAGE=1 env: DB=MYSQL CORE_RELEASE=3 COVERAGE=1
allow_failures: allow_failures:
- php: 7.0
- php: 5.5.9 - php: 5.5.9
fast_finish: true fast_finish: true
@ -33,7 +33,7 @@ before_install:
before_script: before_script:
- 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 - php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss - cd ~/builds/ss
- composer install - composer install