mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-05-01 16:42:16 +00:00
Shuffle around travis builds a bit
This commit is contained in:
parent
dd83e54b67
commit
dc03e6c84a
24
.travis.yml
24
.travis.yml
@ -10,6 +10,8 @@ matrix:
|
||||
|
||||
# Tests pass on nightly
|
||||
- rust: nightly
|
||||
before_install: rustup target add wasm32-unknown-unknown
|
||||
script: cargo test
|
||||
|
||||
# Dist linux binary
|
||||
- env: TARGET=x86_64-unknown-linux-musl DEPLOY=1
|
||||
@ -20,18 +22,16 @@ matrix:
|
||||
- os: osx
|
||||
env: MACOSX_DEPLOYMENT_TARGET=10.7 DEPLOY=1 TARGET=x86_64-apple-darwin
|
||||
script: cargo build --manifest-path crates/wasm-bindgen-cli/Cargo.toml --release --target $TARGET
|
||||
before_install: brew install yarn --without-node
|
||||
install: true
|
||||
|
||||
install:
|
||||
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
|
||||
- source ~/.nvm/nvm.sh
|
||||
- nvm install 9
|
||||
- yarn
|
||||
# We can build the tool on nightly
|
||||
- rust: nightly
|
||||
script: cargo install --debug --path crates/wasm-bindgen-cli
|
||||
|
||||
# All examples work
|
||||
- rust: nightly
|
||||
before_install: rustup target add wasm32-unknown-unknown
|
||||
script:
|
||||
- rustup target add wasm32-unknown-unknown
|
||||
- cargo test
|
||||
- cargo install --debug --path crates/wasm-bindgen-cli
|
||||
- |
|
||||
(cd examples/hello_world && sed -i 's/: "webpack-dev-server"/: "webpack"/' package.json && ./build.sh)
|
||||
- |
|
||||
@ -47,6 +47,12 @@ script:
|
||||
- |
|
||||
(cd examples/wasm-in-wasm && sed -i 's/: "webpack-dev-server"/: "webpack"/' package.json && ./build.sh)
|
||||
|
||||
install:
|
||||
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
|
||||
- source ~/.nvm/nvm.sh
|
||||
- nvm install 9
|
||||
- yarn
|
||||
|
||||
notifications:
|
||||
email:
|
||||
on_success: never
|
||||
|
Loading…
x
Reference in New Issue
Block a user