travis-ci: disable cgo for windows

This commit is contained in:
Adrien Delorme 2018-10-16 16:37:38 +02:00
parent 0602cbd47e
commit 9a1a2d76ce
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install mingw ; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then export CGO_ENABLED=0 ; fi
- GOMAXPROCS=2 make ci
branches: