aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..d7149ec
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,12 @@
+default:
+ image: rust:latest
+
+test:
+ script:
+ - cargo test --no-fail-fast
+ - cargo test --no-fail-fast --no-default-features
+ - rustup component add clippy
+ - cargo clippy
+ - cargo clippy --no-default-features
+ - rustup component add rustfmt
+ - cargo fmt -- --check