aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-01-11 20:31:14 +0000
committerOndřej Čertík <ondrej@certik.us>2020-01-11 20:31:14 +0000
commit910072d4875f4b0bb57e547990cf26c541460fcc (patch)
tree859a734064a8e6dde24b5d9f009630673c7e2631 /.gitlab-ci.yml
parent61b8a314a4bbca0ef72167b648ce268f01c810df (diff)
parent82d56e38cf73380d72907800ccbbe7b50ed93c32 (diff)
downloadfpm-910072d4875f4b0bb57e547990cf26c541460fcc.tar.gz
fpm-910072d4875f4b0bb57e547990cf26c541460fcc.zip
Merge branch 'ci' into 'master'
Add CI See merge request certik/fpm!1
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..cb84891
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,18 @@
+stages:
+ - build
+
+rust-latest:
+ stage: build
+ image: rust:latest
+ script:
+ - cargo build --verbose
+ - cargo run
+ - cargo test --verbose
+
+rust-nightly:
+ stage: build
+ image: rustlang/rust:nightly
+ script:
+ - cargo build --verbose
+ - cargo test --verbose
+ allow_failure: true