gecko-dev/third_party/rust/linked-hash-map/.travis.yml
David Teller 7160366b8c Bug 1437004 - Vendored Rust dependencies;r=froydnj
MozReview-Commit-ID: Grf1bKIx2iT

--HG--
extra : rebase_source : 8013a66263a3a014944b0815ff9bc7d8ac0ad9a3
2018-04-04 14:14:26 +02:00

21 lines
586 B
YAML

language: rust
sudo: false
matrix:
include:
- rust: beta
env: FEATURES="serde_impl heapsize_impl"
- rust: nightly
env: FEATURES="serde_impl nightly clippy heapsize_impl"
- rust: stable
script:
- cargo build --features "$FEATURES"
- cargo test --features "$FEATURES"
- cargo doc --no-deps --features "$FEATURES"
after_success: |
[ $TRAVIS_RUST_VERSION = nightly ] &&
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
bash deploy-docs.sh
notifications:
webhooks: http://huon.me:54857/travis