From 731cde3710e5830d91eb15a8f14f55dff8864e82 Mon Sep 17 00:00:00 2001 From: Simon B Date: Sun, 25 Mar 2018 19:41:49 +0200 Subject: [PATCH] Add gitlab ci config (#860) Example test --all passing: https://gitlab.com/mimblewimble/grin-ci/-/jobs/58984836 --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..2aedec32 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +# Official rust image https://hub.docker.com/r/library/rust/tags/ +image: "rust:latest" + +before_script: + - apt-get update --yes -qq # yqq = yes, very quitely + - apt-get install -yqq --no-install-recommends cmake llvm-dev libclang-dev clang + +test:cargo: + script: + - rustc --version && cargo --version + - cargo test --all --verbose # matrix-style is a possibility too