2019-08-01 14:01:07 +12:00
|
|
|
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
|
2013-03-29 09:38:02 +01:00
|
|
|
|
2019-08-01 14:01:07 +12:00
|
|
|
dist: trusty
|
2015-07-20 15:58:05 +01:00
|
|
|
|
2015-11-21 19:43:06 +13:00
|
|
|
language: php
|
|
|
|
|
2013-03-29 09:38:02 +01:00
|
|
|
env:
|
2019-08-01 14:01:07 +12:00
|
|
|
- DB=MYSQL CORE_RELEASE=3.7
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- php: '7.1'
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
|
|
|
- php: '7.2'
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
|
|
|
- php: '7.3'
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
2013-03-29 09:38:02 +01:00
|
|
|
|
|
|
|
before_script:
|
2015-11-21 19:43:06 +13:00
|
|
|
- composer self-update || true
|
2019-08-01 14:01:07 +12:00
|
|
|
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
|
2015-11-21 19:43:06 +13:00
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
|
|
|
- cd ~/builds/ss
|
2013-03-29 09:38:02 +01:00
|
|
|
|
2015-11-21 19:43:06 +13:00
|
|
|
script:
|
|
|
|
- vendor/bin/phpunit docsviewer/tests
|