Skip to content

Commit

Permalink
fix wasm-pack install for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
najamelan committed Jun 23, 2019
1 parent 9091581 commit 96b648e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ addons:
chrome: stable

install:
- cargo install --force wasm-pack
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

script:

# this will test the non wasm targets if your crate has those, otherwise remove this line.
#
- cargo test

- wasm-pack test --firefox --headless
Expand Down

0 comments on commit 96b648e

Please sign in to comment.