silverstripe-restfulserver/.travis.yml

29 lines
702 B
YAML
Raw Normal View History

# See https://github.com/silverstripe/silverstripe-travis-support for setup details
2012-10-31 00:18:45 +01:00
sudo: false
2015-11-19 02:20:16 +01:00
language: php
2012-10-31 00:18:45 +01:00
matrix:
2015-10-30 05:14:40 +01:00
include:
- php: 5.4
env: DB=MYSQL CORE_RELEASE=3.3
- php: 5.5
env: DB=MYSQL CORE_RELEASE=3.4
2015-11-19 02:20:16 +01:00
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.5
- php: 7.0
2015-10-30 05:14:40 +01:00
env: DB=MYSQL CORE_RELEASE=3
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.6
2012-10-31 00:18:45 +01:00
before_script:
2015-11-19 02:20:16 +01:00
- composer self-update || true
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
2015-11-19 02:20:16 +01:00
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
- composer install
2012-10-31 00:18:45 +01:00
2015-11-19 02:20:16 +01:00
script:
- vendor/bin/phpunit restfulserver/tests