Setup CI for GitLab.

Emmanuel Gil Peyrot created

Change summary

.gitlab-ci.yml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

Detailed changes

.gitlab-ci.yml 🔗

@@ -0,0 +1,16 @@
+stages:
+  - 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