CI: Add caching

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-09-13 02:41:19 +02:00
parent 82be62678a
commit 27b3f43261
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -7,9 +7,17 @@ variables:
.stable: .stable:
image: rust:latest image: rust:latest
cache:
key: stable
paths:
- target/
.nightly: .nightly:
image: rustlang/rust:nightly image: rustlang/rust:nightly
cache:
key: nightly
paths:
- target/
.build: .build:
stage: build stage: build