2017-09-12 13:29:52 +12:00
|
|
|
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
|
2015-07-20 16:01:58 +01:00
|
|
|
sudo: false
|
2015-11-18 17:20:30 +13:00
|
|
|
language: php
|
2017-09-12 13:29:52 +12:00
|
|
|
dist: precise
|
2015-11-18 17:20:30 +13:00
|
|
|
|
|
|
|
php:
|
|
|
|
- 5.3
|
|
|
|
- 5.4
|
|
|
|
- 5.5
|
2013-03-29 09:44:24 +01:00
|
|
|
|
|
|
|
env:
|
2017-09-12 13:29:52 +12:00
|
|
|
- DB=MYSQL CORE_RELEASE=3.5
|
2013-03-29 09:44:24 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2014-09-19 15:07:22 +12:00
|
|
|
- php: 5.6
|
2015-11-18 17:20:30 +13:00
|
|
|
env: DB=MYSQL CORE_RELEASE=3
|
2017-09-12 13:29:52 +12:00
|
|
|
- php: 5.6
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.1
|
2015-11-18 17:20:30 +13:00
|
|
|
- php: 5.6
|
|
|
|
env: DB=PGSQL CORE_RELEASE=3.2
|
2017-09-12 13:29:52 +12:00
|
|
|
- php: 7.1
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.6
|
2013-03-29 09:44:24 +01:00
|
|
|
|
|
|
|
before_script:
|
2015-11-18 17:20:30 +13:00
|
|
|
- composer self-update || true
|
2017-09-12 13:29:52 +12:00
|
|
|
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
|
2015-11-18 17:20:30 +13:00
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
|
|
|
- cd ~/builds/ss
|
|
|
|
- composer install
|
2013-03-29 09:44:24 +01:00
|
|
|
|
2015-11-18 17:20:30 +13:00
|
|
|
script:
|
|
|
|
- vendor/bin/phpunit multiform/tests
|