2015-07-20 17:01:39 +02:00
|
|
|
language: php
|
|
|
|
|
2020-10-15 05:52:55 +02:00
|
|
|
dist: xenial
|
2017-07-26 12:55:24 +02:00
|
|
|
|
2015-07-20 17:01:39 +02:00
|
|
|
sudo: false
|
2014-02-18 05:52:03 +01:00
|
|
|
|
2020-10-15 05:52:55 +02:00
|
|
|
services:
|
|
|
|
- postgresql
|
|
|
|
|
2015-11-02 06:37:20 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
2020-10-15 05:52:55 +02:00
|
|
|
- php: 5.6
|
2017-07-26 15:23:02 +02:00
|
|
|
env: DB=PGSQL CORE_RELEASE=3.6
|
2020-10-15 05:52:55 +02:00
|
|
|
- php: 5.6
|
|
|
|
env: DB=PGSQL CORE_RELEASE=3.7
|
|
|
|
- php: 7.1
|
|
|
|
env: DB=PGSQL CORE_RELEASE=3.7
|
2015-11-02 06:37:20 +01:00
|
|
|
- php: 5.6
|
2017-07-26 15:23:02 +02:00
|
|
|
env: DB=PGSQL CORE_RELEASE=3
|
2020-10-15 05:52:55 +02:00
|
|
|
- php: 7.2
|
2017-07-26 15:23:02 +02:00
|
|
|
env: DB=PGSQL CORE_RELEASE=3
|
2020-10-21 03:14:43 +02:00
|
|
|
- php: 7.4
|
|
|
|
env: DB=PGSQL CORE_RELEASE=3 INSTALL_PHPUNIT_FORK=1
|
2014-02-18 05:52:03 +01:00
|
|
|
|
|
|
|
before_script:
|
2015-06-15 11:03:16 +02:00
|
|
|
- composer self-update || true
|
2020-10-21 03:14:43 +02:00
|
|
|
- if [ $INSTALL_PHPUNIT_FORK ]; then composer require --no-update --dev sminnee/phpunit-mock-objects:^3.4.7; fi
|
2014-02-18 05:52:03 +01:00
|
|
|
- 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
|
|
|
|
|
2017-07-26 15:23:02 +02:00
|
|
|
script:
|
2017-07-26 13:10:33 +02:00
|
|
|
- vendor/bin/phpunit framework/tests
|