Merge pull request #612 from matrix-org/dbkr/ci_build_js_sdk

Build the js-sdk in the CI script
pull/21833/head
David Baker 2017-01-12 17:37:09 +00:00 committed by GitHub
commit 6d07a1b7e3
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,6 @@
language: node_js
node_js:
- node # Latest stable version of nodejs.
install:
- npm install
- (cd node_modules/matrix-js-sdk && npm install)

View File

@ -12,6 +12,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)
# run the mocha tests
npm run test