Add travis

This commit is contained in:
Will Rossiter 2014-02-10 20:55:38 +13:00
parent 03ebf8e19a
commit 124d3761ee
2 changed files with 24 additions and 0 deletions

21
.travis.yml Normal file
View File

@ -0,0 +1,21 @@
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
language: php
php:
- 5.3
env:
- DB=MYSQL CORE_RELEASE=3.1
matrix:
include:
- php: 5.4
env: DB=MYSQL CORE_RELEASE=master
before_script:
- 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 userforms/tests/

View File

@ -1,5 +1,8 @@
# SpamProtection Module # SpamProtection Module
[![Build Status](https://secure.travis-ci.org/silverstripe/silverstripe-spamprotection.png?branch=master)](http://travis-ci.org/silverstripe/silverstripe-spamprotection)
## Maintainer Contact ## Maintainer Contact
* Saophalkun Ponlu * Saophalkun Ponlu