You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
460 B
29 lines
460 B
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: test elseware
|
|
|
|
concurrency:
|
|
limit: 1
|
|
|
|
steps:
|
|
- name: build
|
|
image: rustlang/rust:nightly
|
|
commands:
|
|
- cargo build
|
|
- name: clippy!
|
|
image: rustlang/rust:nightly
|
|
commands:
|
|
- cargo clippy -- --deny warnings
|
|
- name: test
|
|
image: rustlang/rust:nightly
|
|
commands:
|
|
- cargo test --jobs 1
|
|
|
|
volumes:
|
|
- name: cache
|
|
host:
|
|
path: /home/drone/.cargo
|
|
- name: target-cache
|
|
host:
|
|
path: /home/drone/cargo-cache
|