.travis.yml 833 B

1234567891011121314151617181920212223242526272829
  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. # data-url uses pub(crate) which is unstable in 1.17
  11. script: cargo test --all-features -p url -p idna -p percent-encoding -p url_serde
  12. - rust: stable
  13. script: cargo test --all-features --all
  14. - rust: beta
  15. script: cargo test --all-features --all
  16. - rust: nightly
  17. script: cargo test --all-features --all
  18. - rust: nightly
  19. env: TARGET=WASM32 # For job list UI
  20. install: rustup target add wasm32-unknown-unknown
  21. script: cargo build --all --target=wasm32-unknown-unknown
  22. notifications:
  23. webhooks: http://build.servo.org:54856/travis