From bd0171634293710d8e59a06af356747dba587516 Mon Sep 17 00:00:00 2001 From: Forest Anderson Date: Wed, 24 Apr 2019 08:17:02 -0400 Subject: [PATCH] Change target location Former-commit-id: 3e46e7c4dc9a66283ac5077c2db43d5eb98ae9f3 --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20666dacc2..e641013221 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,9 +21,8 @@ rust-nightly: script: - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly - source /root/.cargo/env - - cargo build + - cargo build --target-dir="/cache" - cargo test --verbose - - cp target/ /cache allow_failure: false # # our own git fetch command like https://gitlab.com/gitlab-org/gitlab-runner/blob/master/shells/abstract.go