From 578c1bfdbea7cbb04d62fe361858366160d4ff90 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Wed, 16 Sep 2015 13:22:06 -0500 Subject: [PATCH] Adding a gitlab ci build configuration --- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..ed94a50 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +image: jimmycuadra/rust:nightly +stages: + - build + - test + +build: + stage: build + script: + - cargo build --release + only: + - master + tags: + - rust + allow_failure: false + +test: + stage: test + script: + - cargo test --release + only: + - master + tags: + - rust + allow_failure: false