|
@ -7,7 +7,7 @@ concurrency: |
|
|
limit: 1 |
|
|
limit: 1 |
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- name: cargo build |
|
|
|
|
|
|
|
|
- name: build |
|
|
image: rustlang/rust:nightly |
|
|
image: rustlang/rust:nightly |
|
|
volumes: |
|
|
volumes: |
|
|
- name: cache |
|
|
- name: cache |
|
@ -16,7 +16,16 @@ steps: |
|
|
path: /drone/src/target |
|
|
path: /drone/src/target |
|
|
commands: |
|
|
commands: |
|
|
- cargo build |
|
|
- cargo build |
|
|
- name: cargo test |
|
|
|
|
|
|
|
|
- name: clippy! |
|
|
|
|
|
image: rustlang/rust:nightly |
|
|
|
|
|
volumes: |
|
|
|
|
|
- name: cache |
|
|
|
|
|
path: /usr/local/cargo |
|
|
|
|
|
- name: target-cache |
|
|
|
|
|
path: /drone/src/target |
|
|
|
|
|
commands: |
|
|
|
|
|
- cargo clippy |
|
|
|
|
|
- name: test |
|
|
image: rustlang/rust:nightly |
|
|
image: rustlang/rust:nightly |
|
|
volumes: |
|
|
volumes: |
|
|
- name: cache |
|
|
- name: cache |
|
|