2017-01-04 23:16:12 +01:00
|
|
|
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
|
2015-11-19 02:19:06 +01:00
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
2015-09-10 23:13:48 +02:00
|
|
|
language: php
|
|
|
|
|
2017-05-04 06:14:11 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- php: 5.6
|
|
|
|
env: DB=MYSQL CORE_RELEASE=4
|
|
|
|
- php: 7.0
|
|
|
|
env: DB=PGSQL CORE_RELEASE=4
|
|
|
|
- php: 7.1
|
|
|
|
env: DB=MYSQL CORE_RELEASE=4
|
2015-09-10 23:13:48 +02:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- composer self-update || true
|
2017-01-04 23:16:12 +01:00
|
|
|
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
|
2015-09-10 23:13:48 +02:00
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
|
|
|
- cd ~/builds/ss
|
|
|
|
- composer install
|
|
|
|
|
|
|
|
script:
|
2015-11-19 02:19:06 +01:00
|
|
|
- vendor/bin/phpunit environmentcheck/tests
|