|
@ -10,6 +10,8 @@ steps: |
|
|
- name: cargo build |
|
|
- name: cargo build |
|
|
image: rustlang/rust:nightly |
|
|
image: rustlang/rust:nightly |
|
|
volumes: |
|
|
volumes: |
|
|
|
|
|
- name: cache |
|
|
|
|
|
path: /usr/local/cargo |
|
|
- name: target-cache |
|
|
- name: target-cache |
|
|
path: /drone/src/target |
|
|
path: /drone/src/target |
|
|
commands: |
|
|
commands: |
|
@ -17,12 +19,17 @@ steps: |
|
|
- name: cargo test |
|
|
- name: cargo test |
|
|
image: rustlang/rust:nightly |
|
|
image: rustlang/rust:nightly |
|
|
volumes: |
|
|
volumes: |
|
|
|
|
|
- name: cache |
|
|
|
|
|
path: /usr/local/cargo |
|
|
- name: target-cache |
|
|
- name: target-cache |
|
|
path: /drone/src/target |
|
|
path: /drone/src/target |
|
|
commands: |
|
|
commands: |
|
|
- cargo test |
|
|
- cargo test |
|
|
|
|
|
|
|
|
volumes: |
|
|
volumes: |
|
|
|
|
|
- name: cache |
|
|
|
|
|
host: |
|
|
|
|
|
path: /home/drone/.cargo |
|
|
- name: target-cache |
|
|
- name: target-cache |
|
|
host: |
|
|
host: |
|
|
path: /home/drone/cargo-cache |
|
|
path: /home/drone/cargo-cache |