view bitbucket-pipelines.yml @ 461:29d2b936b2f0

chore(ci): Update CI config to run on all branches.
author Lewin Bormann <lbo@spheniscida.de>
date Mon, 23 Apr 2018 22:53:47 +0200
parents 033f06f09e7f
children e0ad0ac062e1
line wrap: on
line source

image: atlassianlabs/buildpack-deps-rust

pipelines:
  branches:
    '*':
      - 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/