Skip to content

Commit 6b02bf8

Browse files
authored
Merge pull request element-hq#2920 from vector-im/dbkr/ci_build_js_sdk
Build the js-sdk in the CI script
2 parents 717aa94 + 0d05e60 commit 6b02bf8

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎.travis.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ node_js:
33
- 6 # node v6, to match jenkins
44
install:
55
- npm install
6+
- (cd node_modules/matrix-js-sdk && npm install)
67
- (cd node_modules/matrix-react-sdk && npm run build)

‎scripts/jenkins.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ tar -C olm -xz < olm/olm-*.tgz
1919
rm -r node_modules/olm
2020
cp -r olm/package node_modules/olm
2121

22-
# we may be using a dev branch of react-sdk, in which case we need to build it
22+
# we may be using dev branches of js-sdk and react-sdk, in which case we need to build them
23+
(cd node_modules/matrix-js-sdk && npm run build)
2324
(cd node_modules/matrix-react-sdk && npm run build)
2425

2526
# run the mocha tests

0 commit comments

Comments
 (0)