2014-06-18 03:20:24 +02:00
|
|
|
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
|
|
|
|
|
2015-07-20 17:09:08 +02:00
|
|
|
language: php
|
|
|
|
|
|
|
|
sudo: false
|
2014-06-18 03:20:24 +02:00
|
|
|
|
2016-06-27 05:10:33 +02:00
|
|
|
php:
|
2015-10-18 06:17:25 +02:00
|
|
|
- 5.5
|
2014-06-18 03:20:24 +02:00
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
2016-06-27 05:10:33 +02:00
|
|
|
- DB=MYSQL CORE_RELEASE=3.4
|
2014-06-18 03:20:24 +02:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2016-01-18 03:51:42 +01:00
|
|
|
- php: 5.3
|
2016-06-27 05:10:33 +02:00
|
|
|
env: DB=MYSQL CORE_RELEASE=3.3
|
|
|
|
- php: 5.5
|
2016-01-18 03:51:42 +01:00
|
|
|
env: DB=MYSQL CORE_RELEASE=3
|
2014-06-18 03:20:24 +02:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- phpenv rehash
|
|
|
|
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
|
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
|
|
|
- cd ~/builds/ss
|
|
|
|
|
2016-06-27 05:10:33 +02:00
|
|
|
script:
|
2015-07-20 17:09:08 +02:00
|
|
|
- phpunit testsession/tests/unit/
|