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