silverstripe-subsites/.travis.yml

33 lines
658 B
YAML
Raw Permalink Normal View History

2017-09-08 04:41:11 +02:00
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
2013-03-29 09:50:12 +01:00
language: php
sudo: false
2013-03-29 09:50:12 +01:00
2017-09-08 03:52:59 +02:00
dist: precise
php:
- 5.4
2013-03-29 09:50:12 +01:00
env:
2017-09-08 04:41:11 +02:00
- DB=MYSQL CORE_RELEASE=3.5
2013-03-29 09:50:12 +01:00
matrix:
include:
- php: 5.3
2017-09-08 04:41:11 +02:00
env: DB=PGSQL CORE_RELEASE=3.4
2015-10-30 05:44:50 +01:00
- php: 5.6
2017-09-08 04:41:11 +02:00
env: DB=MYSQL CORE_RELEASE=3.6
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.7
2013-03-29 09:50:12 +01:00
before_script:
2017-09-08 04:41:11 +02:00
- composer self-update || true
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
- composer install
2013-03-29 09:50:12 +01:00
script:
2017-09-08 04:41:11 +02:00
- vendor/bin/phpunit subsites/tests