2016-03-23 12:20:55 +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:20:55 +01:00
|
|
|
language: php
|
|
|
|
|
2014-02-18 05:59:32 +01:00
|
|
|
php:
|
2016-01-18 03:28:10 +01:00
|
|
|
- 5.5
|
2016-03-23 12:20:55 +01:00
|
|
|
- 5.6
|
|
|
|
- 7.0
|
2014-02-18 05:59:32 +01:00
|
|
|
|
|
|
|
env:
|
2016-03-23 12:20:55 +01:00
|
|
|
- DB=SQLITE CORE_RELEASE=master PDO=1
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- php: 5.6
|
|
|
|
env: DB=SQLITE CORE_RELEASE=master PDO=0
|
2014-02-18 05:59:32 +01:00
|
|
|
|
|
|
|
before_script:
|
2016-03-23 12:20:55 +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:20:55 +01:00
|
|
|
script:
|
|
|
|
- vendor/bin/phpunit framework/tests
|