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