Add Docker and GitLab CI.

This commit is contained in:
Paul Makles
2020-08-30 15:07:45 +01:00
parent 000ffe6aaa
commit 8bb1977025
5 changed files with 113 additions and 110 deletions

20
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,20 @@
stages:
- build
# Rocket does not currently compile on stable Rust.
# Once it does, we can uncomment this, and instead
# put `allow-failure: true` on the nightly build.
#
# 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