|
@ -10,8 +10,6 @@ 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: |
|
@ -19,17 +17,12 @@ 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 |