2018-03-22 11:03:20 -04:00
|
|
|
variables:
|
|
|
|
CARGO_HOME: $CI_PROJECT_DIR/.cargo
|
|
|
|
|
|
|
|
.cached: &cached
|
|
|
|
cache:
|
|
|
|
key: $CI_COMMIT_REF_NAME
|
|
|
|
untracked: true
|
|
|
|
paths:
|
|
|
|
- target/
|
|
|
|
- .cargo/
|
|
|
|
|
|
|
|
.test_job: &test_job
|
|
|
|
<<: *cached
|
|
|
|
environment: test
|
|
|
|
|
2018-04-02 17:42:57 -04:00
|
|
|
test:rust_1_25_0:
|
2018-03-22 11:03:20 -04:00
|
|
|
<<: *test_job
|
2018-04-02 17:42:57 -04:00
|
|
|
image: "rust:1.25.0"
|
2018-03-22 11:03:20 -04:00
|
|
|
script:
|
|
|
|
- cargo test --all
|