container:
image: rustlang/rust:nightly
test_task:
cargo_cache:
folder: $CARGO_HOME/registry
fingerprint_script: cat Cargo.toml
build_script: cargo build
test_script: cargo test
before_cache_script: rm -rf $CARGO_HOME/registry/index