diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..025c06a --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +image: golang:1.9 + +before_script: + - mkdir -p $GOPATH/src/gitlab.tarent.de/sellfio + - cp -r ../go-logging $GOPATH/src/gitlab.tarent.de/sellfio + - cd $GOPATH/src/gitlab.tarent.de/sellfio/go-logging + +build: + stage: build + tags: + - docker + script: + - go get -t -v -a --ldflags '-linkmode external -extldflags "-static"' ./... + - go test -cover ./... + - go vet ./...