2017-06-15 00:14:41 +02:00
|
|
|
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
|
2014-02-19 03:23:28 +01:00
|
|
|
|
2015-10-28 22:32:00 +01:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
language: php
|
|
|
|
|
2014-02-19 03:23:28 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
2015-10-28 22:32:00 +01:00
|
|
|
- php: 5.6
|
2018-06-22 08:18:35 +02:00
|
|
|
env: DB=MYSQL CORE_RELEASE=3.5
|
2015-10-28 22:32:00 +01:00
|
|
|
- php: 5.6
|
2018-06-22 08:18:35 +02:00
|
|
|
env: DB=MYSQL CORE_RELEASE=3.6
|
2015-10-28 22:32:00 +01:00
|
|
|
- php: 5.6
|
2018-06-22 08:18:35 +02:00
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
|
|
|
- php: 7.0
|
|
|
|
env: DB=PGSQL CORE_RELEASE=3
|
2017-06-15 00:14:41 +02:00
|
|
|
- php: 7.1
|
2018-06-22 08:18:35 +02:00
|
|
|
env: DB=PGSQL CORE_RELEASE=3
|
2014-02-19 03:23:28 +01:00
|
|
|
|
|
|
|
before_script:
|
2015-10-28 22:32:00 +01:00
|
|
|
- composer self-update || true
|
2017-06-15 00:14:41 +02:00
|
|
|
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
|
2015-10-28 22:32:00 +01:00
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
|
|
|
- cd ~/builds/ss
|
|
|
|
- composer install
|
2014-02-19 03:23:28 +01:00
|
|
|
|
2015-11-18 05:20:23 +01:00
|
|
|
script:
|
|
|
|
- vendor/bin/phpunit contentreview/tests
|