Build tags to separate integration tests

This commit is contained in:
Laszlo Fogas
2019-04-26 12:10:38 +02:00
parent e290c76f00
commit 4237ce6bda
2 changed files with 3 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ pipeline:
- go get -u golang.org/x/net/context/ctxhttp
- go get -u github.com/golang/protobuf/proto
- go get -u github.com/golang/protobuf/protoc-gen-go
- go test -cover $(go list ./... | grep -v /vendor/ | grep -v cncd/pipeline/pipec)
- go test -cover $(go list ./... | grep -v /vendor/)
test_postgres:
image: golang:1.12

View File

@@ -1,3 +1,5 @@
// +build integration
package main
import (