2019-09-07 14:58:51 -07:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-09-11 00:26:15 -04:00
|
|
|
type: docker
|
|
|
|
name: test libpso
|
2019-09-07 14:58:51 -07:00
|
|
|
|
|
|
|
steps:
|
2019-09-07 19:46:10 -07:00
|
|
|
- name: cargo build
|
2019-09-11 00:26:15 -04:00
|
|
|
image: rustlang/rust:nightly
|
|
|
|
volumes:
|
|
|
|
- name: cache
|
|
|
|
path: /usr/local/cargo
|
2019-09-13 18:26:57 -07:00
|
|
|
- name: target-cache
|
2019-09-11 00:26:15 -04:00
|
|
|
path: /drone/src/target
|
2019-09-07 19:46:10 -07:00
|
|
|
commands:
|
2019-09-07 19:34:30 -07:00
|
|
|
- cargo build
|
2019-09-07 19:46:10 -07:00
|
|
|
- name: cargo test
|
2019-09-11 00:26:15 -04:00
|
|
|
image: rustlang/rust:nightly
|
|
|
|
volumes:
|
|
|
|
- name: cache
|
|
|
|
path: /usr/local/cargo
|
2019-09-13 18:26:57 -07:00
|
|
|
- name: target-cache
|
2019-09-11 00:26:15 -04:00
|
|
|
path: /drone/src/target
|
2019-09-07 19:46:10 -07:00
|
|
|
commands:
|
2019-09-07 14:58:51 -07:00
|
|
|
- cargo test
|
2019-09-11 00:26:15 -04:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: cache
|
|
|
|
host:
|
|
|
|
path: /home/drone/.cargo
|
|
|
|
- name: target-cache
|
|
|
|
host:
|
|
|
|
path: /home/drone/cargo-cache
|
|
|
|
|