silverstripe-blog/.travis.yml

35 lines
710 B
YAML
Raw Normal View History

language: php
2013-10-10 00:24:17 +02:00
2013-10-10 00:38:08 +02:00
env:
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:
- php: 5.6
env: DB=MYSQL
- php: 5.5
env: DB=MYSQL
2013-10-10 00:38:08 +02:00
- php: 5.4
env: DB=MYSQL
- php: 5.3
env: DB=MYSQL
- php: hhvm-nightly
env: DB=MYSQL
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y tidy
2013-10-10 00:24:17 +02:00
2013-10-10 00:38:08 +02:00
before_script:
- phpenv rehash
- 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
script:
2015-02-08 08:03:55 +01:00
- vendor/bin/phpunit blog/tests/