2014-12-11 11:42:36 +01:00
|
|
|
language: php
|
2013-10-10 00:24:17 +02:00
|
|
|
|
2019-07-24 12:16:02 +02:00
|
|
|
dist: trusty
|
2017-09-03 20:49:34 +02:00
|
|
|
|
2015-07-20 16:59:29 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- tidy
|
|
|
|
|
2013-10-10 00:38:08 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
2019-07-24 12:16:02 +02:00
|
|
|
- php: '5.6'
|
2017-06-14 23:58:30 +02:00
|
|
|
env: DB=MYSQL CORE_RELEASE=3.6
|
2019-07-24 12:16:02 +02:00
|
|
|
- php: '7.0'
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
|
|
|
- php: '7.1'
|
|
|
|
env: DB=PGSQL CORE_RELEASE=3.7
|
|
|
|
- php: '7.1'
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
|
|
|
- php: '7.2'
|
|
|
|
env: DB=PGSQL CORE_RELEASE=3.7
|
|
|
|
- php: '7.3'
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
2014-12-11 11:42:36 +01:00
|
|
|
|
2013-10-10 00:24:17 +02:00
|
|
|
|
2013-10-10 00:38:08 +02:00
|
|
|
before_script:
|
|
|
|
- phpenv rehash
|
2015-06-15 11:01:44 +02:00
|
|
|
- composer self-update || true
|
2017-06-14 23:58:30 +02:00
|
|
|
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
|
2015-05-19 02:35:35 +02:00
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require "silverstripe/comments" --require "silverstripe/widgets"
|
2013-10-10 01:22:12 +02:00
|
|
|
- cd ~/builds/ss
|
2013-10-10 00:38:08 +02:00
|
|
|
|
2014-12-11 11:42:36 +01:00
|
|
|
script:
|
2019-07-24 12:16:02 +02:00
|
|
|
- vendor/bin/phpunit blog/tests
|