aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rw-r--r--ci/gitlab-ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/gitlab-ci.yml b/ci/gitlab-ci.yml
index 8536472..79d0317 100644
--- a/ci/gitlab-ci.yml
+++ b/ci/gitlab-ci.yml
@@ -1,3 +1,6 @@
+# Copyright (C) 2020 The Nitrocli Developers
+# SPDX-License-Identifier: CC0-1.0
+
# The documentation for the contents of this file can be found at:
# https://docs.gitlab.com/ce/ci/yaml/README.html
@@ -20,6 +23,13 @@ lint:clippy:
- rustup component add clippy
- cargo clippy --all-targets --all-features -- -D warnings
+lint:reuse:
+ script:
+ - apt-get update
+ - apt-get install --assume-yes python3-pip
+ - pip3 install reuse
+ - reuse lint
+
format:rustfmt:
script:
- rustup component add rustfmt