silverstripe-blog/.travis.yml
2015-07-20 15:59:29 +01:00

40 lines
685 B
YAML
Executable File

language: php
sudo: false
addons:
apt:
packages:
- tidy
env:
global:
- DB=MYSQL CORE_RELEASE=3.1
matrix:
allow_failures:
- php: hhvm-nightly
include:
- php: 5.6
env: DB=MYSQL
- php: 5.5
env: DB=MYSQL
- php: 5.4
env: DB=MYSQL
- php: 5.3
env: DB=MYSQL
- php: hhvm
env: DB=MYSQL
before_install:
before_script:
- phpenv rehash
- composer self-update || true
- 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
script:
- vendor/bin/phpunit blog/tests/