mirror of https://github.com/vector-im/riot-web
Use the right js-sdk branch when testing
On the react-sdk tests not just riot-webpull/21833/head
parent
1413890a9a
commit
730512bc3f
|
@ -9,16 +9,9 @@ set -ev
|
|||
RIOT_WEB_DIR=riot-web
|
||||
REACT_SDK_DIR=`pwd`
|
||||
|
||||
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"
|
||||
|
||||
scripts/fetchdep.sh vector-im riot-web
|
||||
cd "$RIOT_WEB_DIR"
|
||||
|
||||
git checkout "$curbranch" || git checkout develop
|
||||
|
||||
mkdir node_modules
|
||||
npm install
|
||||
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
set -ex
|
||||
|
||||
scripts/fetchdep.sh matrix-org matrix-js-sdk
|
||||
rm -r node_modules/matrix-js-sdk || true
|
||||
ln -s matrix-js-sdk node_modules/matrix-js-sdk
|
||||
|
||||
npm run test
|
||||
./.travis-test-riot.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue