From 52d3dd4de90259cb1374e02b3c7dd7a0829ac390 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 22 May 2017 16:48:53 +0100 Subject: [PATCH] cd first so we checkout the right repo --- .travis-test-riot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis-test-riot.sh b/.travis-test-riot.sh index c0cd911f08..4296c72e6c 100755 --- a/.travis-test-riot.sh +++ b/.travis-test-riot.sh @@ -15,10 +15,10 @@ echo "Determined branch to be $curbranch" git clone https://github.com/vector-im/riot-web.git \ "$RIOT_WEB_DIR" -git checkout "$curbranch" || git checkout develop - cd "$RIOT_WEB_DIR" +git checkout "$curbranch" || git checkout develop + mkdir node_modules npm install