.travis.yml 895 B

1234567891011121314151617181920212223242526272829303132
  1. language: rust
  2. jobs:
  3. include:
  4. - rust: 1.17.0
  5. install:
  6. # --precise requires Cargo.lock to already exist
  7. - cargo update
  8. # getopts is only used in tests. Its versions 0.2.16+ don’t build on 1.17.0
  9. - cargo update -p getopts --precise 0.2.15
  10. - cargo update -p unicode-normalization --precise 0.1.5
  11. # data-url uses pub(crate) which is unstable in 1.17
  12. script: cargo test --all-features -p url -p idna -p percent-encoding -p url_serde
  13. - rust: stable
  14. script: cargo test --all-features --all
  15. - rust: beta
  16. script: cargo test --all-features --all
  17. - rust: nightly
  18. script: cargo test --all-features --all
  19. - rust: nightly
  20. env: TARGET=WASM32 # For job list UI
  21. install: rustup target add wasm32-unknown-unknown
  22. script: cargo build --all --target=wasm32-unknown-unknown
  23. notifications:
  24. webhooks: http://build.servo.org:54856/travis