mirror of https://github.com/mum4k/termdash.git
build explicitly disabling CGO
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
This commit is contained in:
parent
b60c1c5fb0
commit
c9b2b91b9a
|
@ -8,10 +8,13 @@ script:
|
||||||
- go get -t ./...
|
- go get -t ./...
|
||||||
- go get -u golang.org/x/lint/golint
|
- go get -u golang.org/x/lint/golint
|
||||||
- go test ./...
|
- go test ./...
|
||||||
- go test -race ./...
|
- CGO_ENABLED=1 go test -race ./...
|
||||||
- go vet ./...
|
- go vet ./...
|
||||||
- diff -u <(echo -n) <(gofmt -d -s .)
|
- diff -u <(echo -n) <(gofmt -d -s .)
|
||||||
- diff -u <(echo -n) <(./internal/scripts/autogen_licences.sh .)
|
- diff -u <(echo -n) <(./internal/scripts/autogen_licences.sh .)
|
||||||
- diff -u <(echo -n) <(golint ./...)
|
- diff -u <(echo -n) <(golint ./...)
|
||||||
after_success:
|
after_success:
|
||||||
- ./internal/scripts/coverage.sh
|
- ./internal/scripts/coverage.sh
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
|
Loading…
Reference in New Issue