mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Passing through $TRAVIS_BRANCH to before_script
This commit is contained in:
parent
47e14f5e56
commit
b42cb5c308
@ -13,7 +13,7 @@ matrix:
|
|||||||
env: TESTDB=PGSQL
|
env: TESTDB=PGSQL
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- ./tests/travis/before_script ~/builds/ss
|
- ./tests/travis/before_script ~/builds/ss $TRAVIS_BRANCH
|
||||||
- cd ~/builds/ss
|
- cd ~/builds/ss
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
BUILD_DIR=$1
|
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/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-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 git://github.com/silverstripe/silverstripe-postgresql.git $BUILD_DIR/postgresql
|
||||||
|
Loading…
Reference in New Issue
Block a user