Skip to content

Commit

Permalink
Use DRONE_REPO_BRANCH
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Mar 3, 2018
1 parent 0f3416f commit 9660ba5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/ui-regression/run-servers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ cleaninstall() {
rm -fr data/*
rm -f config/config.php
}
BASEBRANCH=master
BASEBRANCH=${DRONE_REPO_BRANCH:-master}
BASEPATH=/tmp/base
REPOPATH=`realpath ../../`
[ ! -d $BASEPATH ] && mkdir -p $BASEPATH

(
git clone --recursive https://github.com/nextcloud/server.git $BASEPATH
cd $BASEPATH
git checkout $BASEBRANCH
cleaninstall
php -S 0.0.0.0:8080 &
)
Expand Down

0 comments on commit 9660ba5

Please sign in to comment.