2014-06-18 03:20:24 +02:00
|
|
|
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
|
|
|
|
|
2015-07-20 17:09:08 +02:00
|
|
|
language: php
|
|
|
|
|
|
|
|
sudo: false
|
2014-06-18 03:20:24 +02:00
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
2019-10-14 05:12:16 +02:00
|
|
|
- DB=MYSQL CORE_RELEASE=3.7
|
2014-06-18 03:20:24 +02:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2019-10-14 05:12:16 +02:00
|
|
|
- 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
|
2014-06-18 03:20:24 +02:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- phpenv rehash
|
|
|
|
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
|
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
|
|
|
- cd ~/builds/ss
|
|
|
|
|
2016-06-27 05:10:33 +02:00
|
|
|
script:
|
2019-10-14 05:12:16 +02:00
|
|
|
- vendor/bin/phpunit testsession/tests/unit/
|