2014-12-11 11:42:36 +01:00
|
|
|
language: php
|
2013-10-10 00:24:17 +02:00
|
|
|
|
2015-07-20 16:59:29 +02:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- tidy
|
|
|
|
|
2013-10-10 00:38:08 +02:00
|
|
|
env:
|
2014-12-11 11:42:36 +01:00
|
|
|
global:
|
|
|
|
- DB=MYSQL CORE_RELEASE=3.1
|
2013-10-10 00:24:17 +02:00
|
|
|
|
2013-10-10 00:38:08 +02:00
|
|
|
matrix:
|
2015-02-08 08:03:55 +01:00
|
|
|
allow_failures:
|
|
|
|
- php: hhvm-nightly
|
2013-10-10 00:38:08 +02:00
|
|
|
include:
|
2014-12-11 11:42:36 +01:00
|
|
|
- php: 5.6
|
|
|
|
env: DB=MYSQL
|
|
|
|
- php: 5.5
|
|
|
|
env: DB=MYSQL
|
2013-10-10 00:38:08 +02:00
|
|
|
- php: 5.4
|
2014-12-11 11:42:36 +01:00
|
|
|
env: DB=MYSQL
|
|
|
|
- php: 5.3
|
|
|
|
env: DB=MYSQL
|
2015-07-20 16:59:29 +02:00
|
|
|
- php: hhvm
|
2014-12-11 11:42:36 +01:00
|
|
|
env: DB=MYSQL
|
|
|
|
before_install:
|
|
|
|
|
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
|
2013-10-10 00:38:08 +02:00
|
|
|
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
|
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
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:
|
2015-02-08 08:03:55 +01:00
|
|
|
- vendor/bin/phpunit blog/tests/
|