This commit is contained in:
jake 2020-03-23 00:42:44 -04:00
parent 2f158d8490
commit 85e67090c4

View File

@ -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