view bitbucket-pipelines.yml @ 465:e0ad0ac062e1

chore(ci): Update Bitbucket pipeline.
author Lewin Bormann <lbo@spheniscida.de>
date Fri, 17 May 2019 12:27:33 +0200
parents 29d2b936b2f0
children 4d388d72fb14
line wrap: on
line source

image: rustlang/rust:nightly

pipelines:
    branches:
        master:
            - step:
                caches:
                    - cargo
                    - rust-target
                script:
                    - echo "Build project"                    ; cargo build --release
                    - echo "Run unit tests"                   ; cargo test --lib --release -v --no-fail-fast -- --nocapture --test
                    - echo "Run documentation tests"          ; cargo test --doc --release -v --no-fail-fast -- --nocapture --test
definitions:
  caches:
    cargo: /usr/local/cargo # CARGO_HOME
    rust-target: $BITBUCKET_CLONE_DIR/target