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 04:51:15 +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-06-27 04:51:15 +02:00
|
|
|
- php: 5.6
|
2014-07-21 00:36:25 +02:00
|
|
|
env: DB=MYSQL CORE_RELEASE=master
|
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 04:51:15 +02:00
|
|
|
script:
|
2015-07-20 17:09:08 +02:00
|
|
|
- phpunit testsession/tests/unit/
|