2017-06-15 01:41:17 +02:00
|
|
|
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
|
2013-03-29 09:50:12 +01:00
|
|
|
|
2016-05-16 07:18:22 +02:00
|
|
|
language: php
|
|
|
|
|
2019-07-23 15:19:31 +02:00
|
|
|
dist: trusty
|
2013-03-29 09:50:12 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2019-07-23 15:19:31 +02:00
|
|
|
- php: '7.1'
|
|
|
|
env: DB=PGSQL 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
|
2013-03-29 09:50:12 +01:00
|
|
|
|
|
|
|
before_script:
|
2017-09-08 04:41:11 +02:00
|
|
|
- composer self-update || true
|
|
|
|
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
|
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
|
|
|
- cd ~/builds/ss
|
|
|
|
- composer install
|
2013-03-29 09:50:12 +01:00
|
|
|
|
2016-05-16 07:18:22 +02:00
|
|
|
script:
|
2017-09-08 04:41:11 +02:00
|
|
|
- vendor/bin/phpunit subsites/tests
|