Skip to content

Commit

Permalink
configure ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
g-w committed Dec 15, 2017
1 parent 6c00458 commit ea627ad
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -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 ./...

0 comments on commit ea627ad

Please sign in to comment.