From 124d3761eee7e229d06aa4d26f4e6223fe2d9326 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Mon, 10 Feb 2014 20:55:38 +1300 Subject: [PATCH] Add travis --- .travis.yml | 21 +++++++++++++++++++++ README.md | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..3310b3a --- /dev/null +++ b/.travis.yml @@ -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/ \ No newline at end of file diff --git a/README.md b/README.md index 0ac3adc..48591bb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # SpamProtection Module +[![Build Status](https://secure.travis-ci.org/silverstripe/silverstripe-spamprotection.png?branch=master)](http://travis-ci.org/silverstripe/silverstripe-spamprotection) + + ## Maintainer Contact * Saophalkun Ponlu