mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
b984f296f7
commit
1ef155fc18
@ -15,8 +15,8 @@ echo ""
|
|||||||
# Fetch all dependencies
|
# Fetch all dependencies
|
||||||
# TODO Replace with different composer.json variations
|
# TODO Replace with different composer.json variations
|
||||||
|
|
||||||
echo "Checking out installer@$TRAVIS_BRANCH"
|
echo "Checking out installer@3.0"
|
||||||
git clone --depth=100 --quiet -b $TRAVIS_BRANCH git://github.com/silverstripe/silverstripe-installer.git $BUILD_DIR
|
git clone --depth=100 --quiet -b 3.0 git://github.com/silverstripe/silverstripe-installer.git $BUILD_DIR
|
||||||
|
|
||||||
echo "Checking out sqlite3@master"
|
echo "Checking out sqlite3@master"
|
||||||
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-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"
|
echo "Checking out postgresql@master"
|
||||||
git clone --depth=100 --quiet git://github.com/silverstripe/silverstripe-postgresql.git $BUILD_DIR/postgresql
|
git clone --depth=100 --quiet git://github.com/silverstripe/silverstripe-postgresql.git $BUILD_DIR/postgresql
|
||||||
|
|
||||||
echo "Checking out sapphire@$TRAVIS_BRANCH"
|
echo "Checking out sapphire@3.0"
|
||||||
git clone --depth=100 --quiet -b $TRAVIS_BRANCH git://github.com/silverstripe/sapphire.git $BUILD_DIR/framework
|
git clone --depth=100 --quiet -b 3.0 git://github.com/silverstripe/sapphire.git $BUILD_DIR/framework
|
||||||
|
|
||||||
# Copy setup files
|
# Copy setup files
|
||||||
cp $BUILD_DIR/framework/tests/travis/_ss_environment.php $BUILD_DIR
|
cp $BUILD_DIR/framework/tests/travis/_ss_environment.php $BUILD_DIR
|
||||||
|
Loading…
Reference in New Issue
Block a user