silverstripe-subsites/.travis.yml
2017-09-08 14:58:01 +12:00

35 lines
708 B
YAML

# See https://github.com/silverstripe/silverstripe-travis-support for setup details
language: php
sudo: false
dist: precise
php:
- 5.4
env:
- DB=MYSQL CORE_RELEASE=3.5
matrix:
include:
- php: 5.3
env: DB=PGSQL CORE_RELEASE=3.4
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.4
env: DB=MYSQL CORE_RELEASE=3.6
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.6
before_script:
- 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
script:
- vendor/bin/phpunit subsites/tests