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
|
|
|
|
|
|
|
|
sudo: false
|
2013-03-29 09:50:12 +01:00
|
|
|
|
2017-08-02 04:52:30 +02:00
|
|
|
dist: precise
|
2015-11-24 05:15:08 +01:00
|
|
|
|
2014-08-26 01:37:16 +02:00
|
|
|
php:
|
|
|
|
- 5.4
|
2013-03-29 09:50:12 +01:00
|
|
|
|
|
|
|
env:
|
2017-06-15 01:41:17 +02:00
|
|
|
- DB=MYSQL CORE_RELEASE=3.5
|
2013-03-29 09:50:12 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2014-08-26 01:37:16 +02:00
|
|
|
- php: 5.3
|
2017-09-08 04:41:11 +02:00
|
|
|
env: DB=PGSQL CORE_RELEASE=3.4
|
2015-10-30 05:44:50 +01:00
|
|
|
- php: 5.6
|
2019-06-25 06:43:24 +02:00
|
|
|
env: DB=MYSQL CORE_RELEASE=3.6
|
2013-03-29 09:50:12 +01:00
|
|
|
- php: 5.4
|
2017-09-08 04:41:11 +02:00
|
|
|
env: DB=MYSQL CORE_RELEASE=3.6
|
2017-06-15 01:41:17 +02:00
|
|
|
- php: 7.1
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.6
|
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
|