.gitlab-ci.yml 369 Bytes
Newer Older
Cyril Plisko's avatar
Cyril Plisko committed
1 2 3
.test:cargo:
  stage: test
  script:
4 5 6
    - cargo fmt -- --check
    - cargo clippy --all-targets --features yaml
    - cargo test --features yaml
Cyril Plisko's avatar
Cyril Plisko committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

stages:
  - test

stable:test:
  extends: .test:cargo
  image: rustdocker/rust:stable

beta:test:
  extends: .test:cargo
  image: rustdocker/rust:beta

nightly:test:
  extends: .test:cargo
  image: rustdocker/rust:nightly