build explicitly disabling CGO

Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
This commit is contained in:
Pierre Fenoll 2019-05-21 10:53:16 +02:00
parent b60c1c5fb0
commit c9b2b91b9a
1 changed files with 4 additions and 1 deletions

View File

@ -8,10 +8,13 @@ script:
- go get -t ./...
- go get -u golang.org/x/lint/golint
- go test ./...
- go test -race ./...
- CGO_ENABLED=1 go test -race ./...
- go vet ./...
- diff -u <(echo -n) <(gofmt -d -s .)
- diff -u <(echo -n) <(./internal/scripts/autogen_licences.sh .)
- diff -u <(echo -n) <(golint ./...)
after_success:
- ./internal/scripts/coverage.sh
env:
global:
- CGO_ENABLED=0