aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nitrocli/ci/gitlab-ci.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/nitrocli/ci/gitlab-ci.yml b/nitrocli/ci/gitlab-ci.yml
index 0b98522..76ee517 100644
--- a/nitrocli/ci/gitlab-ci.yml
+++ b/nitrocli/ci/gitlab-ci.yml
@@ -7,12 +7,14 @@
# https://github.com/rust-lang/docker-rust/blob/e7703b2cf525f2525bdf8d131cd66b5b38b1513c/1.31.0/stretch/Dockerfile
image: "rust:1.31.0"
-build:cargo:
+build-test:cargo:
script:
- apt-get update
- apt-get install --assume-yes libudev-dev libhidapi-dev
- rustc --version && cargo --version
- - cd nitrocli && cargo build --all --verbose
+ - cd nitrocli
+ - cargo build --all --verbose
+ - cargo test --all --verbose
lint:clippy:
script: