aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 9b2189e818802751ea039c41fac79037dbe855ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
stages:
  - build

variables:
  RUSTFLAGS: "-D warnings"
  CARGO_HOME: cache

cache:
  paths:
    - cache/
    - target/

rust-latest:
  stage: build
  image: rust:latest
  script:
    - cargo build --verbose
    - cargo test --verbose

rust-nightly:
  stage: build
  image: rustlang/rust:nightly
  script:
    - cargo build --verbose
    - cargo test --verbose
  allow_failure: true