mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
7160366b8c
MozReview-Commit-ID: Grf1bKIx2iT --HG-- extra : rebase_source : 8013a66263a3a014944b0815ff9bc7d8ac0ad9a3
21 lines
586 B
YAML
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
|