Remove depth=1 otherwise we won't find the branch

This commit is contained in:
David Baker 2017-05-22 16:41:43 +01:00
parent 77cd9d78db
commit c5a873c316

View file

@ -12,7 +12,7 @@ REACT_SDK_DIR=`pwd`
curbranch="${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
echo "Determined branch to be $curbranch"
git clone --depth=1 https://github.com/vector-im/riot-web.git \
git clone https://github.com/vector-im/riot-web.git \
"$RIOT_WEB_DIR"
git checkout "$curbranch" || git checkout develop