BUILD_DIR=$1 git clone --depth=100 --branch post-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 post-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