From 4ca243fc68f5cc6cb635bb9bd8c8b5ec0ee56ada Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 18 Feb 2014 17:52:03 +1300 Subject: [PATCH] Added travis support --- .travis.yml | 20 ++++++++++++++++++++ README.md | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4aabda2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: php + +php: + - 5.3 + +env: + matrix: + - DB=POSTGRESQL CORE_RELEASE=3.0 + - DB=POSTGRESQL CORE_RELEASE=3.1 + - DB=POSTGRESQL CORE_RELEASE=master + +before_script: + - composer self-update + - 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 framework/tests \ No newline at end of file diff --git a/README.md b/README.md index 615e309..f695621 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # PostgreSQL Module Module +[![Build Status](https://travis-ci.org/silverstripe/silverstripe-postgresql.png?branch=master)](https://travis-ci.org/silverstripe/silverstripe-postgresql) + ## Maintainer Contact * Sam Minnee (Nickname: sminnee)