2017-06-23 06:01:58 +02:00
|
|
|
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
|
2013-03-29 10:19:52 +01:00
|
|
|
|
2015-07-20 17:05:32 +02:00
|
|
|
sudo: false
|
|
|
|
|
2017-07-26 11:43:43 +02:00
|
|
|
dist: precise
|
|
|
|
|
2015-12-15 23:06:57 +01:00
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
|
|
|
- 5.3
|
|
|
|
- 5.4
|
|
|
|
- 5.5
|
|
|
|
|
2013-03-29 10:19:52 +01:00
|
|
|
env:
|
2018-01-16 13:01:55 +01:00
|
|
|
- DB=MYSQL CORE_RELEASE=3.6
|
2013-03-29 10:19:52 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2015-12-15 23:06:57 +01:00
|
|
|
- php: 5.6
|
|
|
|
env: DB=PGSQL CORE_RELEASE=3
|
2015-12-15 23:06:57 +01:00
|
|
|
- php: 5.6
|
2018-01-16 13:01:55 +01:00
|
|
|
env: DB=PGSQL CORE_RELEASE=3.6
|
2017-06-23 06:01:58 +02:00
|
|
|
- php: 7.1
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.6
|
2013-03-29 10:19:52 +01:00
|
|
|
|
|
|
|
before_script:
|
2015-12-15 23:06:57 +01:00
|
|
|
- composer self-update || true
|
2017-06-23 06:01:58 +02:00
|
|
|
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
|
2015-12-15 23:06:57 +01:00
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
|
|
|
- cd ~/builds/ss
|
2013-03-29 10:19:52 +01:00
|
|
|
|
2015-12-15 23:06:57 +01:00
|
|
|
script:
|
|
|
|
- vendor/bin/phpunit reports/tests
|