blob: d9635143d4df43645362927b406cb8cdfee49a0e [file] [log] [blame]
language: rust
jobs:
include:
- rust: 1.17.0
install:
# --precise requires Cargo.lock to already exist
- cargo update
# getopts is only used in tests. Its versions 0.2.16+ don’t build on 1.17.0
- cargo update -p getopts --precise 0.2.15
- cargo update -p unicode-normalization --precise 0.1.5
# data-url uses pub(crate) which is unstable in 1.17
script: cargo test --all-features -p url -p idna -p percent-encoding -p url_serde
- rust: stable
script: cargo test --all-features --all
- rust: beta
script: cargo test --all-features --all
- rust: nightly
script: cargo test --all-features --all
- rust: nightly
env: TARGET=WASM32 # For job list UI
install: rustup target add wasm32-unknown-unknown
script: cargo build --all --target=wasm32-unknown-unknown
notifications:
webhooks: http://build.servo.org:54856/travis