Shuffle around travis builds a bit

This commit is contained in:
Alex Crichton 2018-03-22 21:18:03 -07:00
parent dd83e54b67
commit dc03e6c84a

View File

@ -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
script:
- rustup target add wasm32-unknown-unknown
- cargo test
- cargo install --debug --path crates/wasm-bindgen-cli
# All examples work
- rust: nightly
before_install: rustup target add wasm32-unknown-unknown
script:
- |
(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