From 0b832f968e1706bad1b405198c87f17b7f687485 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 29 Mar 2013 10:12:45 +0100 Subject: [PATCH] Travis support --- .travis.yml | 22 ++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c482684 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details + +language: php +php: + - 5.3 + +env: + - DB=MYSQL CORE_RELEASE=3.1 + - DB=PGSQL CORE_RELEASE=master + +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 googlesitemaps/tests/ \ No newline at end of file diff --git a/README.md b/README.md index ec13ad4..84cd860 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Google Sitemaps Module +[![Build Status](https://secure.travis-ci.org/silverstripe-labs/silverstripe-googlesitemaps.png?branch=master)](http://travis-ci.org/silverstripe-labs/silverstripe-googlesitemaps) + ## Maintainer Contact * Will Rossiter (Nickname: wrossiter, willr)