From 6d0db4ef0d3c1cde9cc98606cbbb32977ece4218 Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Sun, 16 Dec 2018 20:28:36 -0800 Subject: Add gitlab-ci.yml configuration file This change adds a configuration file for the Gitlab CI/CD pipeline to the repository. This file (directly or indirectly) controls the environment in which to build, what exactly to build, and ultimately would also be used to define what tests to run. With the pipeline in place the change also adds a badge indicating the status of the build on the project's front page. The following other CI services have been evaluated or tested and found to be insufficient for the needs at hand: - Travis CI: Does not support configuration in a directory other than the repository root - Cirrus CI: Has the same problem - Semaphore: Does not support Rust - Circle CI: Does not support Rust - Google Cloud Build: Pretty much strictly a paid service --- nitrocli/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nitrocli/Cargo.toml') diff --git a/nitrocli/Cargo.toml b/nitrocli/Cargo.toml index 895043b..0c9f0f4 100644 --- a/nitrocli/Cargo.toml +++ b/nitrocli/Cargo.toml @@ -32,6 +32,9 @@ description = """ A command line tool for interacting with the Nitrokey Storage device. """ +[badges] +gitlab = { repository = "d-e-s-o/nitrocli", branch = "devel" } + [dependencies.nitrokey] version = "0.2.1" path = "../nitrokey" -- cgit v1.2.1