silverstripe-reports/tests/travis/before_script
2012-11-23 16:10:07 +01:00

12 lines
632 B
Plaintext
Executable File

BUILD_DIR=$1
TRAVIS_BRANCH=$2
git clone --depth=100 --quiet git://github.com/silverstripe/silverstripe-installer.git $BUILD_DIR
git clone --depth=100 --quiet git://github.com/silverstripe-labs/silverstripe-sqlite3.git $BUILD_DIR/sqlite3
git clone --depth=100 --quiet git://github.com/silverstripe/silverstripe-postgresql.git $BUILD_DIR/postgresql
git clone --depth=100 --quiet -b $TRAVIS_BRANCH git://github.com/silverstripe/sapphire.git $BUILD_DIR/framework
cp $BUILD_DIR/framework/tests/travis/_ss_environment.php $BUILD_DIR
cp $BUILD_DIR/framework/tests/travis/_config.php $BUILD_DIR/mysite
cp -r . $BUILD_DIR/cms
cd $BUILD_DIR