Added travis support

This commit is contained in:
micmania1 2013-10-09 23:24:17 +01:00
parent f8eeb3b2e6
commit 9f492e3f0e
1 changed files with 22 additions and 0 deletions

22
.travis.yml Executable file
View File

@ -0,0 +1,22 @@
language: php
php:
- 5.3
env:
matrix:
- DB=MYSQL CORE_RELEASE=3.1
- DB=MYSQL CORE_RELEASE=master
matrix:
include:
- php: 5.4
env: DB=MYSQL CORE_RELEASE=master
before_script:
- phpenv rehash
- 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:
- phpunit silverstripe-blog/tests/