mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-15 09:40:52 +00:00
Start running CI tests on Rust beta
We'll graduate these to stable once 1.30.0 is released, but for now let's start testing beta! Some matrix entries remain on nightly, but the bulk of tests are switching to beta.
This commit is contained in:
parent
d10ca579e4
commit
5af3d72f42
@ -1,4 +1,4 @@
|
||||
# TODO: we shouldn't check this in to git, need to figure out how to avoid doing
|
||||
# that.
|
||||
[target.wasm32-unknown-unknown]
|
||||
runner = 'cargo +nightly run -p wasm-bindgen-cli --bin wasm-bindgen-test-runner --'
|
||||
runner = 'cargo run -p wasm-bindgen-cli --bin wasm-bindgen-test-runner --'
|
||||
|
33
.travis.yml
33
.travis.yml
@ -49,8 +49,8 @@ INSTALL_AWS: &INSTALL_AWS
|
||||
|
||||
matrix:
|
||||
include:
|
||||
# Tests pass on nightly
|
||||
- rust: nightly
|
||||
# Tests for wasm-bindgen itself pass
|
||||
- rust: beta
|
||||
env: JOB=test-bindgen
|
||||
install:
|
||||
- *INSTALL_NODE_VIA_NVM
|
||||
@ -62,7 +62,6 @@ matrix:
|
||||
- cargo test
|
||||
# Run the main body of the test suite
|
||||
- cargo test --target wasm32-unknown-unknown
|
||||
- cargo test --target wasm32-unknown-unknown --features nightly
|
||||
# Rerun the test suite but disable `--debug` in generated JS
|
||||
- WASM_BINDGEN_NO_DEBUG=1 cargo test --target wasm32-unknown-unknown
|
||||
# Make sure our serde tests work
|
||||
@ -76,6 +75,15 @@ matrix:
|
||||
firefox: latest
|
||||
if: branch = master
|
||||
|
||||
# Tests the `nightly` feature of wasm-bindgen
|
||||
- rust: nightly
|
||||
env: JOB=test-bindgen-nightly
|
||||
install:
|
||||
- *INSTALL_NODE_VIA_NVM
|
||||
script:
|
||||
- cargo test --target wasm32-unknown-unknown --features nightly --test wasm
|
||||
if: branch = master
|
||||
|
||||
# All examples work
|
||||
- rust: nightly
|
||||
env: JOB=examples-build
|
||||
@ -95,8 +103,8 @@ matrix:
|
||||
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then aws s3 sync --quiet ~/$TRAVIS_BUILD_NUMBER s3://wasm-bindgen-ci/$TRAVIS_BUILD_NUMBER; fi
|
||||
if: branch = master
|
||||
|
||||
# The `web-sys` crate's tests pass on nightly.
|
||||
- rust: nightly
|
||||
# The `web-sys` crate's tests pass
|
||||
- rust: beta
|
||||
env: JOB=test-web-sys
|
||||
install:
|
||||
- *INSTALL_NODE_VIA_NVM
|
||||
@ -118,8 +126,8 @@ matrix:
|
||||
chrome: stable
|
||||
if: branch = master
|
||||
|
||||
# The `js-sys` crate's tests pass on nightly.
|
||||
- rust: nightly
|
||||
# The `js-sys` crate's tests pass
|
||||
- rust: beta
|
||||
env: JOB=test-js-sys
|
||||
install:
|
||||
- *INSTALL_NODE_VIA_NVM
|
||||
@ -134,8 +142,8 @@ matrix:
|
||||
chrome: stable
|
||||
if: branch = master
|
||||
|
||||
# WebIDL tests pass on nightly
|
||||
- rust: nightly
|
||||
# WebIDL tests pass
|
||||
- rust: beta
|
||||
env: JOB=test-webidl
|
||||
install: *INSTALL_NODE_VIA_NVM
|
||||
script:
|
||||
@ -172,14 +180,9 @@ matrix:
|
||||
env: JOB=check-stable-cli
|
||||
script: cargo check --manifest-path crates/cli/Cargo.toml
|
||||
if: branch = master
|
||||
# CLI builds on nightly
|
||||
- rust: nightly
|
||||
env: JOB=check-nightly-cli
|
||||
script: cargo check --manifest-path crates/cli/Cargo.toml
|
||||
if: branch = master
|
||||
|
||||
# Build mdbook documentation
|
||||
- rust: nightly
|
||||
- rust: stable
|
||||
env: JOB=guide-build
|
||||
install:
|
||||
- mkdir -p $HOME/mdbook
|
||||
|
Loading…
x
Reference in New Issue
Block a user