From c1efccfe6cfa868f96ea03a6a8a1eaee826c429d Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 29 Mar 2013 09:48:42 +0100 Subject: [PATCH] Travis support --- .travis.yml | 17 +++++++++++++++++ README.md | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..da4bbea --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details + +language: php +php: + - 5.3 + +env: + - DB=MYSQL CORE_RELEASE=2.4 + - DB=PGSQL CORE_RELEASE=2.4 + +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 subsites/tests/ \ No newline at end of file diff --git a/README.md b/README.md index ef948a7..ea67ca9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Subsites Module +[![Build Status](https://secure.travis-ci.org/silverstripe/silverstripe-subsites.png?branch=0.3)](http://travis-ci.org/silverstripe/silverstripe-subsites) + ## Introduction The subsites module allows multiple websites to run from a single installation of SilverStripe, and share users, content, and assets between them. A useful way to think of its use is where you have a business with a global headquarters and four branches in various countries. The subsites module allows the five offices to use a single SilverStripe installation, and have information from the headquarters flow down into the branches. The branches can have separate users/admins, and information that is individual. The website templates can also be different.