Use develop js-sdk in travis build

This commit is contained in:
David Baker 2018-05-02 15:53:38 +01:00
parent 6bf1eb105a
commit 0040ea0d9f
2 changed files with 14 additions and 5 deletions

View file

@ -11,8 +11,9 @@ set -x
# install the other dependencies
npm install
# we may be using a dev branch of js-sdk in which case we need to build it
(cd node_modules/matrix-js-sdk && npm install)
scripts/fetchdep.sh matrix-org matrix-js-sdk
ln -s ../matrix-js-sdk node_modules/matrix-js-sdk
(cd matrix-js-sdk && npm install)
# run the mocha tests
npm run test -- --no-colors