Add Gitlab CI support.

This commit is contained in:
Alexander Færøy 2020-12-06 00:16:34 +00:00
parent 6ddf55f799
commit 128f8c31c0
1 changed files with 17 additions and 0 deletions

17
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,17 @@
stages:
- build
rust-latest:
stage: build
image: rust:latest
script:
- cargo build --verbose
- cargo test --verbose
rust-nightly:
stage: build
image: rustlang/rust:nightly
allow_failure: true
script:
- cargo build --verbose
- cargo test --verbose