aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-01-11 13:28:04 -0700
committerOndřej Čertík <ondrej@certik.us>2020-01-11 13:28:04 -0700
commit65c2a7a4507b9fc4505c3dee4785af88a6736a59 (patch)
tree87a646637c1f00ad48de89cffb79959204dcb807 /.gitlab-ci.yml
parent61b8a314a4bbca0ef72167b648ce268f01c810df (diff)
downloadfpm-65c2a7a4507b9fc4505c3dee4785af88a6736a59.tar.gz
fpm-65c2a7a4507b9fc4505c3dee4785af88a6736a59.zip
Add GitLab CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..a336098
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -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
+ script:
+ - cargo build --verbose
+ - cargo test --verbose
+ allow_failure: true