silverstripe-framework/tests/travis/before_script

10 lines
398 B
Plaintext
Raw Normal View History

2012-08-14 06:02:12 +02:00
BUILD_DIR=$1
2012-08-14 06:45:13 +02:00
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
2012-08-14 06:02:12 +02:00
cp ./tests/travis/_ss_environment.php $BUILD_DIR
2012-08-14 06:45:13 +02:00
cp ./tests/travis/_config.php $BUILD_DIR/mysite
2012-08-14 06:02:12 +02:00
cp -r . $BUILD_DIR/framework
cd $BUILD_DIR
./framework/sake dev/build "flush=1"