aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ci/gitlab-ci.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/ci/gitlab-ci.yml b/ci/gitlab-ci.yml
index 0a40cc7..e1e119c 100644
--- a/ci/gitlab-ci.yml
+++ b/ci/gitlab-ci.yml
@@ -1,4 +1,4 @@
-# Copyright (C) 2020 The Nitrocli Developers
+# Copyright (C) 2020-2021 The Nitrocli Developers
# SPDX-License-Identifier: CC0-1.0
# The documentation for the contents of this file can be found at:
@@ -15,8 +15,8 @@ build-test:cargo:
- apt-get update
- apt-get install --assume-yes libudev-dev libhidapi-dev
- rustc --version && cargo --version
- - cargo build --all --verbose
- - cargo test --all --verbose
+ - cargo build --bins --tests --verbose
+ - cargo test --verbose
lint:clippy:
script:
@@ -33,4 +33,4 @@ lint:reuse:
format:rustfmt:
script:
- rustup component add rustfmt
- - cargo fmt --all -- --check
+ - cargo fmt -- --check