view bitbucket-pipelines.yml @ 553:bd8c4d4688d5

use conforming format for snappy compression This finally enables reading/writing compressed leveldbs written by the original implementation. Before this, the incompatible compression format prevented this. Fixes #17
author Lewin Bormann <lbo@spheniscida.de>
date Thu, 30 Jun 2022 21:09:05 -0700
parents 4d388d72fb14
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