travis: try to fix vendor path stuff

master
Oliver Tonnhofer 2017-11-15 15:34:18 +01:00
parent 59b1974dfd
commit 7bb3908bce
1 changed files with 3 additions and 3 deletions

View File

@ -28,11 +28,11 @@ clean:
(cd test && make clean)
test: imposm3 system-test-files
$(GO) test ./... -i
$(GO) test -i `$(GO) list ./... | grep -Ev '/vendor'`
$(GO) test `$(GO) list ./... | grep -Ev '/vendor'`
test-unit: imposm3
$(GO) test ./... -i
$(GO) test -i `$(GO) list ./... | grep -Ev '/test|/vendor'`
$(GO) test `$(GO) list ./... | grep -Ev '/test|/vendor'`
test-system: imposm3
@ -42,7 +42,7 @@ system-test-files:
(cd test && make files)
%.pb.go: %.proto
protoc --proto_path=$(GOPATH)/src:$(GOPATH)/src/github.com/gogo/protobuf/protobuf:. --gogofaster_out=. $^
protoc --proto_path=$(GOPATH)/src:$(GOPATH)/src/github.com/omniscale/imposm3/vendor/github.com/gogo/protobuf/protobuf:. --gogofaster_out=. $^
docs:
(cd docs && make html)