Merge pull request #917 from matrix-org/dbkr/use_right_riot_branch

Make travis test against riot-web new-guest-access
pull/21833/head
Luke Barnard 2017-05-22 16:59:17 +01:00 committed by GitHub
commit 867f8914e1
1 changed files with 6 additions and 1 deletions

View File

@ -9,11 +9,16 @@ set -ev
RIOT_WEB_DIR=riot-web
REACT_SDK_DIR=`pwd`
git clone --depth=1 --branch develop https://github.com/vector-im/riot-web.git \
curbranch="${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
echo "Determined branch to be $curbranch"
git clone https://github.com/vector-im/riot-web.git \
"$RIOT_WEB_DIR"
cd "$RIOT_WEB_DIR"
git checkout "$curbranch" || git checkout develop
mkdir node_modules
npm install