silverstripe-blog/.travis.yml

35 lines
783 B
YAML
Raw Normal View History

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
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'
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
2013-10-10 00:24:17 +02:00
2013-10-10 00:38:08 +02:00
before_script:
- phpenv rehash
- composer self-update || true
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
- 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
script:
2019-07-24 12:16:02 +02:00
- vendor/bin/phpunit blog/tests