From 96b1196ff3609981ee6f1d100e468522ecb8e7d8 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Sun, 10 Jun 2018 05:16:45 +0000 Subject: [PATCH] Add .gitlab-ci.yml --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..b6a5376 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +before_script: + - apt-get update -qq + - apt-get install -qq build-essential curl git + - curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly + - source "$HOME/.cargo/env" + - rustup toolchain add stable + - rustup toolchain add beta + +build: + script: + - cargo build --verbose + +test: + script: + - cargo test --verbose + - cargo test --release --verbose \ No newline at end of file