[PATCH] Add .gitlab-ci.yml
Daniel Vetter
daniel.vetter at ffwll.ch
Tue Aug 28 18:36:17 UTC 2018
This gives us neat little CI integration. No more "you have a
different version of shellcheck" - we just pick the one everyone can
run with docker. Also, no more "oops, forgot to run make check", that
is, if we adopt a merge request based flow.
Even without this this is useful, since if you do a fork and test
there, gitlab CI will run stuff for you. Example:
https://gitlab.freedesktop.org/danvet/maintainer-tools/blob/master/.gitlab-ci.yml
Observe the awesome green checkmark in the top-left corner!
v2: Use python3 (Lucas). And fix whitespace.
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
.gitlab-ci.yml | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644 .gitlab-ci.yml
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000000..382e3cf1442e
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,9 @@
+image: fedora:latest
+
+before_script:
+ - dnf install -y ShellCheck python3-docutils python3-sphinx make
+
+check:
+ stage: build
+ script:
+ - make check
--
2.18.0
More information about the dim-tools
mailing list