Merge pull request #2920 from vector-im/dbkr/ci_build_js_sdk

Build the js-sdk in the CI script
This commit is contained in:
David Baker 2017-01-12 17:37:18 +00:00 committed by GitHub
commit 6b02bf8e8c
2 changed files with 3 additions and 1 deletions

View File

@ -3,4 +3,5 @@ node_js:
- 6 # node v6, to match jenkins
install:
- npm install
- (cd node_modules/matrix-js-sdk && npm install)
- (cd node_modules/matrix-react-sdk && npm run build)

View File

@ -19,7 +19,8 @@ tar -C olm -xz < olm/olm-*.tgz
rm -r node_modules/olm
cp -r olm/package node_modules/olm
# we may be using a dev branch of react-sdk, in which case we need to build it
# we may be using dev branches of js-sdk and react-sdk, in which case we need to build them
(cd node_modules/matrix-js-sdk && npm run build)
(cd node_modules/matrix-react-sdk && npm run build)
# run the mocha tests