view bitbucket-pipelines.yml @ 43:9ffa6f545865 default tip

Increase repeats in benchmarks
author Lewin Bormann <lewin@lewin-bormann.info>
date Sun, 23 Feb 2020 18:03:21 +0100
parents 4cc1c97724f2
children
line wrap: on
line source

image: rustlang/rust:nightly

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