Hardcode travis branch on dependencies, otherwise breaks pull request builds

Pull requests are always on a branch, and this branch
typically is not present on the installer.

This changes means we need to be careful when merging into 3.1
and master, but that's a necessary evil.
This commit is contained in:
Ingo Schommer 2013-02-18 14:19:21 +01:00
parent c09bca6fac
commit 1324024445

View File

@ -15,8 +15,8 @@ echo ""
# Fetch all dependencies
# TODO Replace with different composer.json variations
echo "Checking out installer@3.1"
git clone --depth=100 --quiet -b 3.1 git://github.com/silverstripe/silverstripe-installer.git $BUILD_DIR
echo "Checking out installer@master"
git clone --depth=100 --quiet -b master git://github.com/silverstripe/silverstripe-installer.git $BUILD_DIR
echo "Checking out sqlite3@master"
git clone --depth=100 --quiet git://github.com/silverstripe-labs/silverstripe-sqlite3.git $BUILD_DIR/sqlite3
@ -24,8 +24,8 @@ git clone --depth=100 --quiet git://github.com/silverstripe-labs/silverstripe-sq
echo "Checking out postgresql@master"
git clone --depth=100 --quiet git://github.com/silverstripe/silverstripe-postgresql.git $BUILD_DIR/postgresql
echo "Checking out sapphire@3.1"
git clone --depth=100 --quiet -b 3.1 git://github.com/silverstripe/sapphire.git $BUILD_DIR/framework
echo "Checking out sapphire@master"
git clone --depth=100 --quiet -b master git://github.com/silverstripe/sapphire.git $BUILD_DIR/framework
echo "Checking out reports@master"
git clone --depth=100 --quiet git://github.com/silverstripe-labs/silverstripe-reports.git $BUILD_DIR/reports