From 0bd9ef290477afa6acbf1900236e8a05f0b5699a Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 18 Feb 2014 17:59:32 +1300 Subject: [PATCH] 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 671c5f0..6c6297f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ SQLite3 Module ============== +[![Build Status](https://travis-ci.org/silverstripe-labs/silverstripe-sqlite3.png?branch=master)](https://travis-ci.org/silverstripe-labs/silverstripe-sqlite3) + Maintainer Contact ------------------ Andreas Piening (Nickname: apiening)