silverstripe-subsites/.travis.yml

35 lines
708 B
YAML
Raw Normal View History

# 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
dist: precise
php:
- 5.4
2013-03-29 09:50:12 +01:00
env:
- 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
env: DB=MYSQL CORE_RELEASE=3
2013-03-29 09:50:12 +01:00
- php: 5.4
2017-09-08 04:41:11 +02:00
env: DB=MYSQL CORE_RELEASE=3.6
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.6
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