elseware/.drone.yml

30 lines
460 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:
2021-06-18 20:39:16 -06:00
- name: build
2019-09-10 21:27:36 -07:00
image: rustlang/rust:nightly
2019-09-07 23:38:15 -07:00
commands:
2019-09-10 21:27:36 -07:00
- cargo build
2021-06-18 20:39:16 -06:00
- name: clippy!
image: rustlang/rust:nightly
commands:
- cargo clippy -- --deny warnings
2021-06-18 20:39:16 -06:00
- name: test
2019-09-10 21:27:36 -07:00
image: rustlang/rust:nightly
2019-09-07 23:38:15 -07:00
commands:
- cargo test --jobs 1
2019-09-10 21:27:36 -07:00
volumes:
- name: cache
host:
path: /home/drone/.cargo
2019-09-10 21:27:36 -07:00
- name: target-cache
host:
path: /home/drone/cargo-cache