2017-06-15 00:53:12 +02:00
|
|
|
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
|
2015-07-20 17:20:54 +02:00
|
|
|
|
|
|
|
sudo: false
|
2014-08-07 06:49:20 +02:00
|
|
|
|
2015-11-21 07:38:21 +01:00
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
|
|
|
- 5.3
|
|
|
|
- 5.4
|
|
|
|
- 5.5
|
2014-08-07 06:49:20 +02:00
|
|
|
|
|
|
|
env:
|
2017-06-15 00:53:12 +02:00
|
|
|
- DB=MYSQL CORE_RELEASE=3.5
|
2014-08-07 06:49:20 +02:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2015-11-21 07:38:21 +01:00
|
|
|
- php: 5.6
|
2015-10-30 02:53:10 +01:00
|
|
|
env: DB=MYSQL CORE_RELEASE=3
|
|
|
|
- php: 5.6
|
2015-11-21 07:38:21 +01:00
|
|
|
env: DB=MYSQL CORE_RELEASE=3.1
|
|
|
|
- php: 5.6
|
|
|
|
env: DB=PGSQL CORE_RELEASE=3.2
|
2017-06-15 00:53:12 +02:00
|
|
|
- php: 7.1
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.6
|
2014-08-07 06:49:20 +02:00
|
|
|
|
|
|
|
before_script:
|
2015-11-21 07:38:21 +01:00
|
|
|
- composer self-update || true
|
2017-06-15 00:53:12 +02:00
|
|
|
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
|
2015-11-21 07:38:21 +01:00
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
|
|
|
- cd ~/builds/ss
|
|
|
|
- composer install
|
2014-08-07 06:49:20 +02:00
|
|
|
|
2015-11-21 07:38:21 +01:00
|
|
|
script:
|
|
|
|
- vendor/bin/phpunit externallinks/tests
|