Browse Source

add REUSE CI checks for Drone, Gitlab, and Travis

max.mehl 2 months ago
parent
commit
037e156586
No account linked to committer's email address
3 changed files with 26 additions and 0 deletions
  1. 8
    0
      .drone.yml
  2. 7
    0
      .gitlab-ci.yml
  3. 11
    0
      .travis.yml

+ 8
- 0
.drone.yml View File

@@ -0,0 +1,8 @@
1
+# SPDX-Copyright: 2019 Free Software Foundation Europe e.V.
2
+# SPDX-License-Identifier: CC0-1.0
3
+
4
+pipeline:
5
+  reuse:
6
+    image: fsfe/reuse:0.4.0a1
7
+    commands:
8
+      - reuse lint

+ 7
- 0
.gitlab-ci.yml View File

@@ -0,0 +1,7 @@
1
+# SPDX-Copyright: 2019 Free Software Foundation Europe e.V.
2
+# SPDX-License-Identifier: CC0-1.0
3
+
4
+reuse:
5
+  image: fsfe/reuse:0.4.0a1
6
+  script:
7
+    - reuse lint

+ 11
- 0
.travis.yml View File

@@ -0,0 +1,11 @@
1
+# SPDX-Copyright: 2019 Free Software Foundation Europe e.V.
2
+# SPDX-License-Identifier: CC0-1.0
3
+
4
+language: minimal
5
+
6
+services:
7
+  - docker
8
+
9
+before_install:
10
+- docker pull fsfe/reuse:0.4.0a1
11
+- docker run --name reuse -v ${TRAVIS_BUILD_DIR}:/repo fsfe/reuse:0.4.0a1 /bin/sh -c "cd /repo; reuse lint"

Loading…
Cancel
Save