Update gitlab-ci

cache optimization

Former-commit-id: 372464f556fe12bbf28fa6e0422b8e4ea64c2db5
This commit is contained in:
Denis S. Soldatov aka General-Beck 2016-11-07 20:49:00 +07:00 committed by GitHub
parent 043ca21863
commit e49ba9d0ae

View File

@ -10,7 +10,7 @@ variables:
CARGOFLAGS: ""
NIGHTLY: "nightly"
cache:
key: "$CI_BUILD_REF_NAME"
key: "CI_BUILD_STAGE/$CI_BUILD_REF_NAME"
untracked: true
linux-stable:
stage: build
@ -344,6 +344,9 @@ darwin:
- target/release/parity
name: "x86_64-apple-darwin_parity"
windows:
cache:
key: "%CI_BUILD_STAGE%/%CI_BUILD_REF_NAME%"
untracked: true
stage: build
only:
- $NIGHTLY