.gitlab-ci.yml 317 Bytes
Newer Older
Michael Aaron Murphy's avatar
Michael Aaron Murphy committed
1
2
3
4
5
before_script:
  - apt-get update -qq
  - apt-get install -qq build-essential curl git
  - curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
  - source "$HOME/.cargo/env"
6
  - rustup component add rustfmt-preview
Michael Aaron Murphy's avatar
Michael Aaron Murphy committed
7
8
9

nightly:
  script:
10
    - cargo fmt -- --check
Michael Aaron Murphy's avatar
Michael Aaron Murphy committed
11
    - cargo build
12
    - cargo test