Skip to content

Commit 13a9922

Browse files
committed
Fix the demo page travis build
1 parent bb44549 commit 13a9922

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,19 @@ matrix:
7070
if: branch = release
7171
env:
7272
- REGULAR_TEST=false
73-
- PUBLISH_DOC=true
7473
- name: WASM online demo
7574
language: rust
7675
rust: nightly
7776
cache: cargo
77+
install:
78+
- nvm install node
79+
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh # install wasm-pack
7880
script:
7981
- cd wasm
8082
- bash release.sh
8183
if: branch = release
8284
env:
8385
- REGULAR_TEST=false
84-
- PUBLISH_DEMO=true
8586
allow_failures:
8687
- rust: nightly
8788
env: REGULAR_TEST=true
@@ -96,7 +97,6 @@ deploy:
9697
keep-history: true
9798
on:
9899
branch: release
99-
condition: $PUBLISH_DOC = true
100100
- provider: pages
101101
repo: RustPython/demo
102102
target-branch: master
@@ -106,4 +106,3 @@ deploy:
106106
keep-history: true
107107
on:
108108
branch: release
109-
condition: $PUBLISH_DEMO = true

wasm/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ npm link && \
44
cd ../app && \
55
npm install && \
66
npm link rustpython_wasm && \
7-
webpack --mode production && \
7+
node_modules/.bin/webpack --mode production && \
88
echo "Output saved to app/dist"

0 commit comments

Comments
 (0)