2015-07-20 17:01:39 +02:00
|
|
|
language: php
|
|
|
|
|
|
|
|
sudo: false
|
2014-02-18 05:52:03 +01:00
|
|
|
|
2015-11-02 06:37:20 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
2017-06-22 00:29:08 +02:00
|
|
|
- php: 5.3
|
|
|
|
env: DB=POSTGRESQL CORE_RELEASE=3.4
|
2015-11-02 06:37:20 +01:00
|
|
|
- php: 5.6
|
2017-06-22 00:29:08 +02:00
|
|
|
env: DB=POSTGRESQL CORE_RELEASE=3
|
|
|
|
- php: 7.0
|
2015-11-02 06:37:20 +01:00
|
|
|
env: DB=POSTGRESQL CORE_RELEASE=3
|
2014-02-18 05:52:03 +01:00
|
|
|
|
|
|
|
before_script:
|
2015-06-15 11:03:16 +02:00
|
|
|
- composer self-update || true
|
2014-02-18 05:52:03 +01:00
|
|
|
- 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:
|
2017-06-22 00:29:08 +02:00
|
|
|
- vendor/bin/phpunit framework/tests
|