language: rust rust: - stable - 1.20.0 sudo: false notifications: email: on_success: never on_failure: always script: - | [ "$TRAVIS_RUST_VERSION" = "1.20.0" ] || cargo test - cargo test --no-default-features - | [ "$TRAVIS_RUST_VERSION" = "1.20.0" ] || cargo test --no-default-features --features "deflate-zlib" - cargo test --no-default-features --features "deflate-miniz" - cargo doc --no-deps --no-default-features --features "deflate-miniz,bzip2" - rustdoc --test README.md -L target/debug after_success: - curl https://mvdnes.github.io/rust-docs/travis-doc-upload.sh | bash