aboutsummaryrefslogtreecommitdiff
path: root/nitrocli/ci/gitlab-ci.yml
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2020-04-04 15:32:14 -0700
committerDaniel Mueller <deso@posteo.net>2020-04-04 15:32:14 -0700
commit681cc8882f7995407c33eb48730daaa901074460 (patch)
treec865f6c4a34e11af685889a09d95f3225e54a16c /nitrocli/ci/gitlab-ci.yml
parentd0d9683df8398696147e7ee1fcffb2e4e957008c (diff)
downloadnitrocli-681cc8882f7995407c33eb48730daaa901074460.tar.gz
nitrocli-681cc8882f7995407c33eb48730daaa901074460.tar.bz2
Move nitrocli source code into repository root
Now that all vendored dependencies have been removed, this change moves the program's source code from the nitrocli/ directory into the root of the repository.
Diffstat (limited to 'nitrocli/ci/gitlab-ci.yml')
-rw-r--r--nitrocli/ci/gitlab-ci.yml36
1 files changed, 0 insertions, 36 deletions
diff --git a/nitrocli/ci/gitlab-ci.yml b/nitrocli/ci/gitlab-ci.yml
deleted file mode 100644
index 29bf59d..0000000
--- a/nitrocli/ci/gitlab-ci.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-# The documentation for the contents of this file can be found at:
-# https://docs.gitlab.com/ce/ci/yaml/README.html
-
-# Official language image. Look for the different tagged releases at:
-# https://hub.docker.com/r/library/rust/tags/
-# The recipe for this docker image can be found at:
-# https://github.com/rust-lang/docker-rust/blob/29bf41a2cc4fb8d3f588cf51eb6a8ba883808c4b/1.35.0/stretch/Dockerfile
-image: "rust:1.35.0"
-
-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
- - cargo test --all --verbose
-
-lint:clippy:
- script:
- - rustup component add clippy
- # First check and build everything but be very permissive. Then clean
- # only the nitrocli package artifacts. Lastly check once more, but
- # with warnings turned to errors. This last run will only recheck
- # nitrocli (everything else is still up-to-date). That procedure is
- # necessary because consumed dependencies may emit errors otherwise.
- - cd nitrocli
- - cargo clippy --all-targets --all-features -- -A clippy::all
- - cargo clean --package=nitrocli
- - cargo clippy --all-targets --all-features -- -D warnings
-
-format:rustfmt:
- script:
- - rustup component add rustfmt
- - cd nitrocli
- - cargo fmt --all -- --check