Fix Travis-CI

Fix Travis-CI for new project layout.
This commit is contained in:
Gert-Jan Timmer 2018-06-18 10:56:33 +02:00
parent 355ec13490
commit 8221c6527b
1 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,9 @@ before_install:
fi
script:
- GOOS=$(go env GOOS) GOARCH=$(go env GOARCH) go build -v -tags "${GOTAGS}" .
- GOOS=$(go env GOOS) GOARCH=$(go env GOARCH) go build -v -tags "${GOTAGS}" ./driver
- |
if [[ "${GOOS}" != "windows" ]]; then
$HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
go test -race -v . -tags "${GOTAGS}"
go test -race -v ./driver -tags "${GOTAGS}"
fi