From 586be1ec4680bd471ad6b15f214d83dbbc67b8ee Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Tue, 16 Oct 2018 16:57:34 +0200 Subject: [PATCH] group choco install make/mingw together & export correct path --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9b70b9aac..dcb6b0cad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: