Merge pull request #612 from matrix-org/dbkr/ci_build_js_sdk
Build the js-sdk in the CI script
This commit is contained in:
commit
6d07a1b7e3
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- node # Latest stable version of nodejs.
|
- node # Latest stable version of nodejs.
|
||||||
|
install:
|
||||||
|
- npm install
|
||||||
|
- (cd node_modules/matrix-js-sdk && npm install)
|
||||||
|
|
|
@ -12,6 +12,9 @@ set -x
|
||||||
# install the other dependencies
|
# install the other dependencies
|
||||||
npm install
|
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)
|
||||||
|
|
||||||
# run the mocha tests
|
# run the mocha tests
|
||||||
npm run test
|
npm run test
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue