summaryrefslogtreecommitdiffstats
path: root/vendor/gitlab.com/golang-commonmark/html/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gitlab.com/golang-commonmark/html/.gitlab-ci.yml')
-rw-r--r--vendor/gitlab.com/golang-commonmark/html/.gitlab-ci.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/gitlab.com/golang-commonmark/html/.gitlab-ci.yml b/vendor/gitlab.com/golang-commonmark/html/.gitlab-ci.yml
new file mode 100644
index 00000000..aaf2cbdd
--- /dev/null
+++ b/vendor/gitlab.com/golang-commonmark/html/.gitlab-ci.yml
@@ -0,0 +1,16 @@
+image: golang:1.11
+
+stages:
+ - build
+ - test
+
+build:
+ stage: build
+ script:
+ - go build ./...
+
+test:
+ stage: test
+ script:
+ - test -z "$(gofmt -l . | tee /dev/stderr)"
+ - go test ./...