elseware/.drone.yml

36 lines
578 B
YAML
Raw Normal View History

2019-09-07 23:38:15 -07:00
---
kind: pipeline
2019-09-10 21:27:36 -07:00
type: docker
2019-09-10 21:29:08 -07:00
name: test elseware
2019-09-07 23:38:15 -07:00
2020-03-16 10:07:39 -07:00
concurrency:
limit: 1
2019-09-07 23:38:15 -07:00
steps:
- name: cargo build
2019-09-10 21:27:36 -07:00
image: rustlang/rust:nightly
volumes:
- name: cache
path: /usr/local/cargo
- name: target-cache
path: /drone/src/target
2019-09-07 23:38:15 -07:00
commands:
2019-09-10 21:27:36 -07:00
- cargo build
2019-09-07 23:38:15 -07:00
- name: cargo test
2019-09-10 21:27:36 -07:00
image: rustlang/rust:nightly
volumes:
- name: cache
path: /usr/local/cargo
- name: target-cache
path: /drone/src/target
2019-09-07 23:38:15 -07:00
commands:
- cargo test
2019-09-10 21:27:36 -07:00
volumes:
- name: cache
host:
path: /home/drone/.cargo
- name: target-cache
host:
path: /home/drone/cargo-cache