mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-05-02 00:52: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
|
# Tests pass on nightly
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
|
before_install: rustup target add wasm32-unknown-unknown
|
||||||
|
script: cargo test
|
||||||
|
|
||||||
# Dist linux binary
|
# Dist linux binary
|
||||||
- env: TARGET=x86_64-unknown-linux-musl DEPLOY=1
|
- env: TARGET=x86_64-unknown-linux-musl DEPLOY=1
|
||||||
@ -20,18 +22,16 @@ matrix:
|
|||||||
- os: osx
|
- os: osx
|
||||||
env: MACOSX_DEPLOYMENT_TARGET=10.7 DEPLOY=1 TARGET=x86_64-apple-darwin
|
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
|
script: cargo build --manifest-path crates/wasm-bindgen-cli/Cargo.toml --release --target $TARGET
|
||||||
before_install: brew install yarn --without-node
|
install: true
|
||||||
|
|
||||||
install:
|
# We can build the tool on nightly
|
||||||
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
|
- rust: nightly
|
||||||
- source ~/.nvm/nvm.sh
|
script: cargo install --debug --path crates/wasm-bindgen-cli
|
||||||
- nvm install 9
|
|
||||||
- yarn
|
|
||||||
|
|
||||||
|
# All examples work
|
||||||
|
- rust: nightly
|
||||||
|
before_install: rustup target add wasm32-unknown-unknown
|
||||||
script:
|
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)
|
(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)
|
(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:
|
notifications:
|
||||||
email:
|
email:
|
||||||
on_success: never
|
on_success: never
|
||||||
|
Loading…
x
Reference in New Issue
Block a user