view bitbucket-pipelines.yml @ 284:e9e304fa9ee8

options: Add reuse_manifest option
author Lewin Bormann <lbo@spheniscida.de>
date Mon, 25 Sep 2017 20:31:59 +0200
parents 033f06f09e7f
children 29d2b936b2f0
line wrap: on
line source

image: atlassianlabs/buildpack-deps-rust

pipelines:
  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

definitions:
    caches:
        cargo: target/