You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Use the right js-sdk branch when testing
On the react-sdk tests not just riot-web
This commit is contained in:
@ -9,16 +9,9 @@ set -ev
|
|||||||
RIOT_WEB_DIR=riot-web
|
RIOT_WEB_DIR=riot-web
|
||||||
REACT_SDK_DIR=`pwd`
|
REACT_SDK_DIR=`pwd`
|
||||||
|
|
||||||
curbranch="${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
|
scripts/fetchdep.sh vector-im riot-web
|
||||||
echo "Determined branch to be $curbranch"
|
|
||||||
|
|
||||||
git clone https://github.com/vector-im/riot-web.git \
|
|
||||||
"$RIOT_WEB_DIR"
|
|
||||||
|
|
||||||
cd "$RIOT_WEB_DIR"
|
cd "$RIOT_WEB_DIR"
|
||||||
|
|
||||||
git checkout "$curbranch" || git checkout develop
|
|
||||||
|
|
||||||
mkdir node_modules
|
mkdir node_modules
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
set -ex
|
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
|
npm run test
|
||||||
./.travis-test-riot.sh
|
./.travis-test-riot.sh
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user