language: rust
rust:
- stable
sudo: false
notifications:
email:
on_success: never
on_failure: always
script:
- cargo build
- cargo test
- cargo doc --no-deps
- rustdoc --test README.md -L target/debug
after_success:
- curl https://mvdnes.github.io/rust-docs/travis-doc-upload.sh | bash