From 031501fa91ac2be4cba5b1a46302573dae5659b4 Mon Sep 17 00:00:00 2001 From: Ales Katona Date: Wed, 23 Jan 2019 14:05:23 -0700 Subject: [PATCH] add CI --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..d3cdcf5 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +stages: + - build + +rust-latest: + stage: build + image: rust:latest + script: + - cargo build --verbose --features backend_piston,backend_gilrs + - cargo test --verbose --features backend_piston,backend_gilrs + +rust-nightly: + stage: build + image: rustlang/rust:nightly + script: + - cargo build --verbose + - cargo test --verbose + allow_failure: true