Merge remote-tracking branch 'origin/2.4' into post-2.4

This commit is contained in:
Ingo Schommer 2012-11-28 15:42:37 +01:00
commit 8f3568ba88
3 changed files with 40 additions and 0 deletions

27
.travis.yml Normal file
View File

@ -0,0 +1,27 @@
language: php
php:
- 5.3
env:
- TESTDB=MYSQL
- TESTDB=PGSQL
before_script:
- ./tests/travis/before_script ~/builds/ss
- cd ~/builds/ss
script:
- php sapphire/cli-script.php dev/tests/module/cms
branches:
except:
- 2.1
- 2.2
- 2.3
- post-2.4
- translation-staging
notifications:
irc:
channels:
- "irc.freenode.org#silverstripe"

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# SilverStripe CMS
[![Build Status](https://secure.travis-ci.org/silverstripe/silverstripe-cms.png?branch=2.4)](https://travis-ci.org/silverstripe/silverstripe-cms)

10
tests/travis/before_script Executable file
View File

@ -0,0 +1,10 @@
BUILD_DIR=$1
git clone --depth=100 --branch 2.4 --quiet git://github.com/silverstripe/silverstripe-installer.git $BUILD_DIR
git clone --depth=100 --branch 1.2 --quiet git://github.com/silverstripe-labs/silverstripe-sqlite3.git $BUILD_DIR/sqlite3
git clone --depth=100 --branch 1.0 --quiet git://github.com/silverstripe/silverstripe-postgresql.git $BUILD_DIR/postgresql
git clone --depth=100 --quiet --branch 2.4 git://github.com/silverstripe/sapphire.git $BUILD_DIR/sapphire
cp $BUILD_DIR/sapphire/tests/travis/_ss_environment.php $BUILD_DIR
cp $BUILD_DIR/sapphire/tests/travis/_config.php $BUILD_DIR/mysite
cp -r . $BUILD_DIR/cms
cd $BUILD_DIR