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
|
|
|
|
|
|
|
php:
|
2015-10-18 06:17:25 +02:00
|
|
|
- 5.5
|
2014-06-18 03:20:24 +02:00
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
2014-07-21 00:36:25 +02:00
|
|
|
- DB=MYSQL CORE_RELEASE=master
|
2014-06-18 03:20:24 +02:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2015-10-18 03:13:51 +02:00
|
|
|
- php: 5.6
|
2014-07-21 00:10:54 +02:00
|
|
|
env: DB=PGSQL CORE_RELEASE=master
|
2016-01-18 03:51:42 +01:00
|
|
|
- php: 5.5
|
2014-07-21 00:36:25 +02:00
|
|
|
env: DB=MYSQL CORE_RELEASE=master
|
2015-10-18 03:13:51 +02:00
|
|
|
- php: 5.3
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.2
|
2016-01-18 03:51:42 +01:00
|
|
|
- php: 5.3
|
|
|
|
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
|
|
|
|
|
|
|
|
script:
|
2015-07-20 17:09:08 +02:00
|
|
|
- phpunit testsession/tests/unit/
|