kind: pipeline type: docker name: default steps: - name: test image: rust:1 volumes: - name: cargo-registry path: /usr/local/cargo/registry commands: - cargo build --verbose --all - cargo test --verbose --all volumes: - name: cargo-registry host: path: /var/lib/drone/sprinklers_rs/cargo-registry