2016-03-23 12:17:42 +01:00
|
|
|
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
|
2015-07-20 17:10:08 +02:00
|
|
|
|
|
|
|
sudo: false
|
2014-02-18 05:59:32 +01:00
|
|
|
|
2016-03-23 12:17:42 +01:00
|
|
|
language: php
|
|
|
|
|
2014-02-18 05:59:32 +01:00
|
|
|
php:
|
|
|
|
- 5.3
|
2016-03-23 12:17:42 +01:00
|
|
|
- 5.4
|
|
|
|
- 5.5
|
|
|
|
- 5.6
|
2014-02-18 05:59:32 +01:00
|
|
|
|
|
|
|
env:
|
2016-03-23 12:17:42 +01:00
|
|
|
- DB=SQLITE CORE_RELEASE=3.2
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- php: 5.6
|
|
|
|
env: CORE_RELEASE=3
|
|
|
|
- php: 5.6
|
|
|
|
env: CORE_RELEASE=3 PDO=1
|
|
|
|
- php: 5.6
|
|
|
|
env: CORE_RELEASE=3.3
|
2014-02-18 05:59:32 +01:00
|
|
|
|
|
|
|
before_script:
|
2016-03-23 12:17:42 +01:00
|
|
|
- composer self-update || true
|
|
|
|
- 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
|
|
|
|
- composer install
|
2014-02-18 05:59:32 +01:00
|
|
|
|
2016-03-23 12:17:42 +01:00
|
|
|
script:
|
|
|
|
- vendor/bin/phpunit framework/tests
|