Mercurial > lbo > hg > leveldb-rs
changeset 181:033f06f09e7f
Cache target/ directory between pipeline runs.
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Sat, 12 Aug 2017 16:26:00 +0200 |
parents | 12521b9dd790 |
children | d7e4693effba |
files | bitbucket-pipelines.yml |
diffstat | 1 files changed, 10 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/bitbucket-pipelines.yml Sat Aug 12 16:22:45 2017 +0200 +++ b/bitbucket-pipelines.yml Sat Aug 12 16:26:00 2017 +0200 @@ -4,8 +4,14 @@ branches: default: - step: + caches: + - cargo script: - - echo "Updates to rustup" ; rustup self update - - echo "Update Rust toolchain" ; rustup update - - echo "Build project" ; cargo build - - echo "Run unit tests" ; cargo test --lib -v --no-fail-fast -- --nocapture --test + - echo "Updates to rustup" ; rustup self update + - echo "Update Rust toolchain" ; rustup update + - echo "Build project" ; cargo build + - echo "Run unit tests" ; cargo test --lib -v --no-fail-fast -- --nocapture --test + +definitions: + caches: + cargo: target/