2017-06-15 01:14:22 +02:00
|
|
|
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
|
2012-10-31 00:18:45 +01:00
|
|
|
|
2015-11-19 02:20:16 +01:00
|
|
|
language: php
|
|
|
|
|
2019-06-11 04:08:40 +02:00
|
|
|
dist: trusty
|
|
|
|
|
2012-10-31 00:18:45 +01:00
|
|
|
matrix:
|
2015-10-30 05:14:40 +01:00
|
|
|
include:
|
2019-07-24 13:10:26 +02:00
|
|
|
- php: '5.6'
|
|
|
|
env: DB=PGSQL CORE_RELEASE=3.6
|
|
|
|
- php: '7.0'
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
|
|
|
- php: '7.1'
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
|
|
|
- php: '7.2'
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
|
|
|
- php: '7.3'
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
2012-10-31 00:18:45 +01:00
|
|
|
|
|
|
|
before_script:
|
2015-11-19 02:20:16 +01:00
|
|
|
- composer self-update || true
|
2017-06-15 01:14:22 +02:00
|
|
|
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
|
2015-11-19 02:20:16 +01:00
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
|
|
|
- cd ~/builds/ss
|
|
|
|
- composer install
|
2012-10-31 00:18:45 +01:00
|
|
|
|
2015-11-19 02:20:16 +01:00
|
|
|
script:
|
|
|
|
- vendor/bin/phpunit restfulserver/tests
|