group choco install make/mingw together & export correct path
This commit is contained in:
parent
9a1a2d76ce
commit
586be1ec46
|
@ -15,11 +15,9 @@ go:
|
|||
- master
|
||||
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install make ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install mingw ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install -y make mingw; export PATH=/c/tools/mingw64/bin:"$PATH"; fi
|
||||
|
||||
script:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then export CGO_ENABLED=0 ; fi
|
||||
- GOMAXPROCS=2 make ci
|
||||
|
||||
branches:
|
||||
|
|
Loading…
Reference in New Issue