From ea627addf6c3309c31eb6e9777dff23f056b79f2 Mon Sep 17 00:00:00 2001 From: Gregor Weckbecker Date: Fri, 15 Dec 2017 12:45:28 +0100 Subject: [PATCH] configure ci build --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitlab-ci.yml 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 ./...