Updated travis build again
This commit is contained in:
parent
963e48e56f
commit
afa4f43eb1
10
.travis.yml
10
.travis.yml
@ -7,14 +7,14 @@ matrix:
|
|||||||
include:
|
include:
|
||||||
|
|
||||||
# Builds with wasm-pack.
|
# Builds with wasm-pack.
|
||||||
- rust: beta
|
- rust: stable
|
||||||
env: RUST_BACKTRACE=1
|
env: RUST_BACKTRACE=1
|
||||||
addons:
|
addons:
|
||||||
firefox: latest
|
firefox: latest
|
||||||
chrome: stable
|
chrome: stable
|
||||||
before_script:
|
before_script:
|
||||||
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
|
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
|
||||||
- (test -x $HOME/.cargo/bin/cargo-generate || cargo install --vers "^0.2" cargo-generate)
|
- (test -x $HOME/.cargo/bin/cargo-generate || cargo install --vers "0.2.2" cargo-generate)
|
||||||
- cargo install-update -a
|
- cargo install-update -a
|
||||||
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f
|
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f
|
||||||
script:
|
script:
|
||||||
@ -27,11 +27,11 @@ matrix:
|
|||||||
- wasm-pack test --chrome --firefox --headless
|
- wasm-pack test --chrome --firefox --headless
|
||||||
|
|
||||||
# Builds on nightly.
|
# Builds on nightly.
|
||||||
- rust: nightly
|
- rust: stable
|
||||||
env: RUST_BACKTRACE=1
|
env: RUST_BACKTRACE=1
|
||||||
before_script:
|
before_script:
|
||||||
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
|
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
|
||||||
- (test -x $HOME/.cargo/bin/cargo-generate || cargo install --vers "^0.2" cargo-generate)
|
- (test -x $HOME/.cargo/bin/cargo-generate || cargo install --vers "0.2.2" cargo-generate)
|
||||||
- cargo install-update -a
|
- cargo install-update -a
|
||||||
- rustup target add wasm32-unknown-unknown
|
- rustup target add wasm32-unknown-unknown
|
||||||
script:
|
script:
|
||||||
@ -48,7 +48,7 @@ matrix:
|
|||||||
- cargo check --target wasm32-unknown-unknown --no-default-features --features "console_error_panic_hook wee_alloc"
|
- cargo check --target wasm32-unknown-unknown --no-default-features --features "console_error_panic_hook wee_alloc"
|
||||||
|
|
||||||
# Builds on beta.
|
# Builds on beta.
|
||||||
- rust: beta
|
- rust: stable
|
||||||
env: RUST_BACKTRACE=1
|
env: RUST_BACKTRACE=1
|
||||||
before_script:
|
before_script:
|
||||||
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
|
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
|
||||||
|
Loading…
Reference in New Issue
Block a user