Merge pull request #24 from creative-commoners/pulls/1.0/travis-php7

Add PHP7 + SS3.6 build to Travis configuration
This commit is contained in:
Daniel Hensby 2017-06-15 19:18:08 +01:00 committed by GitHub
commit 454cee84df
1 changed files with 6 additions and 6 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
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