- linux
- osx
language: rust
+cache: cargo
rust:
# This version is tested to avoid unintentional bumping of the minimum supported Rust version
- 1.20.0
- beta
- nightly
sudo: false
-before_script:
- - pip install -v 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
- - if [[ -e ~/Library/Python/2.7/bin ]]; then export PATH=~/Library/Python/2.7/bin:$PATH; fi
script:
- - cargo build --verbose
- - cargo test --verbose
- - travis-cargo --only nightly test
- - cargo doc --no-deps
-after_success:
- - travis-cargo --only nightly doc-upload
+ - cargo test
+ - (cd ./test_suite && cargo test $([ "$TRAVIS_RUST_VERSION" = nightly ] && echo '--features unstable'))
env:
global:
- - TRAVIS_CARGO_NIGHTLY_FEATURE=unstable_testing
- secure: "DoZ8g8iPs+X3xEEucke0Ae02JbkQ1qd1SSv/L2aQqxULmREtRcbzRauhiT+ToQO5Ft1Lul8uck14nPfs4gMr/O3jFFBhEBVpSlbkJx7eNL3kwUdp95UNroA8I43xPN/nccJaHDN6TMTD3+uajTQTje2SyzOQP+1gvdKg17kguvE="
-
notifications:
email:
on_success: never