Fix Travis (hopefully)

This commit is contained in:
Alex Crichton 2018-03-29 08:50:08 -07:00
parent 47da3a38a8
commit 3ceee55d14

View File

@ -6,7 +6,7 @@ matrix:
# CLI builds on stable
- rust: stable
install: true
script: cargo build --manifest-path crates/wasm-bindgen-cli/Cargo.toml
script: cargo build --manifest-path crates/cli/Cargo.toml
# Tests pass on nightly
- rust: nightly
@ -16,17 +16,17 @@ matrix:
# Dist linux binary
- env: TARGET=x86_64-unknown-linux-musl DEPLOY=1
before_script: rustup target add $TARGET
script: cargo build --manifest-path crates/wasm-bindgen-cli/Cargo.toml --release --target $TARGET
script: cargo build --manifest-path crates/cli/Cargo.toml --release --target $TARGET
# Dist OSX binary
- 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
script: cargo build --manifest-path crates/cli/Cargo.toml --release --target $TARGET
install: true
# We can build the tool on nightly
- rust: nightly
script: cargo install --debug --path crates/wasm-bindgen-cli
script: cargo install --debug --path crates/cli
# All examples work
- rust: nightly