From 037e156586fe61f938deda06e3df5b1277dd1751 Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Thu, 4 Jul 2019 14:17:37 +0200 Subject: [PATCH] add REUSE CI checks for Drone, Gitlab, and Travis --- .drone.yml | 8 ++++++++ .gitlab-ci.yml | 7 +++++++ .travis.yml | 11 +++++++++++ 3 files changed, 26 insertions(+) create mode 100644 .drone.yml create mode 100644 .gitlab-ci.yml create mode 100644 .travis.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..0499a29 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,8 @@ +# SPDX-Copyright: 2019 Free Software Foundation Europe e.V. +# SPDX-License-Identifier: CC0-1.0 + +pipeline: + reuse: + image: fsfe/reuse:0.4.0a1 + commands: + - reuse lint diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..837e44f --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,7 @@ +# SPDX-Copyright: 2019 Free Software Foundation Europe e.V. +# SPDX-License-Identifier: CC0-1.0 + +reuse: + image: fsfe/reuse:0.4.0a1 + script: + - reuse lint diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b0e1a57 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +# SPDX-Copyright: 2019 Free Software Foundation Europe e.V. +# SPDX-License-Identifier: CC0-1.0 + +language: minimal + +services: + - docker + +before_install: +- docker pull fsfe/reuse:0.4.0a1 +- docker run --name reuse -v ${TRAVIS_BUILD_DIR}:/repo fsfe/reuse:0.4.0a1 /bin/sh -c "cd /repo; reuse lint"