From 49316d99ffbf0a89f8309e531f8adbb0bfbcdb2e Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 7 May 2013 21:48:01 +0200 Subject: [PATCH] Travis support --- .travis.yml | 18 ++++++++++++++++++ README.md | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5e99dc3 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details + +language: php +php: + - 5.3 + +env: + - DB=MYSQL CORE_RELEASE=3.0 + - DB=MYSQL CORE_RELEASE=3.1 + - DB=PGSQL 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 textextraction/tests/ \ No newline at end of file diff --git a/README.md b/README.md index 7c838d4..c946b68 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Text Extraction Module +[![Build Status](https://secure.travis-ci.org/silverstripe-labs/silverstripe-textextraction.png)](http://travis-ci.org/silverstripe-labs/silverstripe-textextraction) + ## Overview Provides an extraction API for file content, which can hook into different extractor