Syntax error during job setup using Golang

My latest build with Golang on Windows failed and I found the following error message in the logs:

/c/Users/travis/.travis/functions: eval: line 104: syntax error near unexpected token `('
/c/Users/travis/.travis/functions: eval: line 104: `export PATH=/c/Users/travis/gopath/bin:/c/Users/travis/.gimme/versions/ Files/Google/Compute Engine/metadata_scripts:/c/Program Files (x86)/Google/Cloud SDK/google-cloud-sdk/bin:/c/Program Files/Google/Compute Engine/sysprep:/c/Program Files/Docker:/c/ProgramData/chocolatey/bin:/c/Program Files/CMake/bin:/c/Program Files/Git/cmd:/c/Program Files/LLVM/bin:/c/Program Files/dotnet:/c/Users/travis/AppData/Local/Microsoft/WindowsApps:/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin '

I’m not sure if this is the root cause of the error that breaks the build a few steps after, though:

$ make deps
dep ensure -v
The command "make deps" failed and exited with 2 during .

The same error happens with 3 versions of Golang (1.9, 1.10 and 1.11)

For the record, my previous build on Windows that passed was and it did not have the error message reported above

Is this a known issue or should I open a new one (on ?)

The production code (as of ~30m ago) ensures all export invocations are properly escaped :+1:

great! thanks @meatballhat!