2015-11-19 02:20:52 +01:00
|
|
|
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
|
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
2015-04-23 21:19:10 +02:00
|
|
|
language: php
|
2015-09-09 01:07:51 +02:00
|
|
|
|
2015-11-19 02:20:52 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
2017-01-13 20:11:59 +01:00
|
|
|
- php: 5.5
|
|
|
|
env: DB=MYSQL CORE_RELEASE=4
|
2015-11-19 02:20:52 +01:00
|
|
|
- php: 5.6
|
2017-01-13 20:11:59 +01:00
|
|
|
env: DB=MYSQL CORE_RELEASE=4
|
2015-11-19 02:20:52 +01:00
|
|
|
- php: 5.6
|
2017-01-13 20:11:59 +01:00
|
|
|
env: DB=PGSQL CORE_RELEASE=4
|
|
|
|
- php: 7.0
|
|
|
|
env: DB=MYSQL CORE_RELEASE=4
|
2015-11-19 02:20:52 +01:00
|
|
|
- php: 7.0
|
2017-01-13 20:11:59 +01:00
|
|
|
env: DB=PGSQL CORE_RELEASE=4
|
2015-04-23 21:19:10 +02:00
|
|
|
|
|
|
|
before_script:
|
2015-11-19 02:20:52 +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
|
2015-04-23 21:19:10 +02:00
|
|
|
|
|
|
|
script:
|
2015-11-19 02:20:52 +01:00
|
|
|
- vendor/bin/phpunit tagfield/tests
|