2017-12-19 01:49:04 +03:00
|
|
|
language: rust
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- rust: nightly
|
|
|
|
|
2018-01-09 01:53:52 +03:00
|
|
|
install:
|
|
|
|
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
|
|
|
|
- source ~/.nvm/nvm.sh
|
|
|
|
- nvm install 9
|
2018-03-03 01:20:05 +03:00
|
|
|
- yarn
|
2018-01-09 01:53:52 +03:00
|
|
|
|
2017-12-19 01:49:04 +03:00
|
|
|
script:
|
2017-12-19 01:55:25 +03:00
|
|
|
- rustup target add wasm32-unknown-unknown
|
2017-12-19 01:49:04 +03:00
|
|
|
- cargo test
|
2017-12-19 20:28:31 +03:00
|
|
|
- cargo install --debug --path crates/wasm-bindgen-cli
|
2018-03-04 23:35:02 +03:00
|
|
|
- |
|
|
|
|
(cd examples/hello_world && sed -i 's/: "webpack-dev-server"/: "webpack"/' package.json && ./build.sh)
|
|
|
|
- |
|
|
|
|
(cd examples/smorgasboard && sed -i 's/: "webpack-dev-server"/: "webpack"/' package.json && ./build.sh)
|
2017-12-19 01:49:04 +03:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
|
|
|
|