language: rust dist: trusty sudo: false cache: cargo os: - linux - osx rust: - 1.30.0 - stable - nightly script: - cargo build --verbose - if [[ $TRAVIS_RUST_VERSION = nightly* ]]; then env RUST_BACKTRACE=1 cargo test --all -v; env RUST_BACKTRACE=1 cargo test --all -v --release; fi