From f0e363e15374cc518cdbf3dcec1a94bd5f4db35b Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 29 Apr 2020 17:00:56 +0200 Subject: enable gitlab 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..88cdb4e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +image: "rust" + +tests: + script: + - cargo test + +format: + before_script: + - rustup component add rustfmt + script: + - cargo fmt -- --check + +clippy: + before_script: + - rustup component add clippy + script: + - cargo clippy -- cgit v1.2.3