You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
714 B

language: rust
sudo: false
os: linux
dist: trusty
rust:
- nightly
- beta
- stable
- 1.17.0
matrix:
fast_finish: true
allow_failures:
- rust: nightly
notifications:
webhooks: http://build.servo.org:54856/travis
email:
on_success: never
env:
global:
- RUST_BACKTRACE=full
script:
- cargo build --verbose
- cargo doc --verbose --no-deps
- cargo test --verbose
- cargo test --verbose --features 'serde'
- cargo test --verbose --features 'with_serde'
- test "$TRAVIS_RUST_VERSION" != "nightly" ||
cargo bench --verbose --features 'bench_it'
- test "$TRAVIS_RUST_VERSION" != "nightly" ||
cargo run --verbose --features 'flame_it' --example 'flame_udhr'