Skip to content

Commit 7c32040

Browse files
committed
AppVeyor: Add some verbose information the Go directory in PATH
Since we were having issues with this in the past, see e.g. [1], add some verbose information to ease debugging in the future. [1] appveyor/ci#1342
1 parent a2ad5bf commit 7c32040

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

appveyor.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ install:
1111
- cinst golang --version 1.8.0 -y
1212
- cinst InnoSetup -y
1313
- refreshenv
14+
- ps: |
15+
echo "Go directories in machine PATH environment:"
16+
[environment]::GetEnvironmentVariable("PATH","Machine").split(";") | Select-String -Pattern "\\go\\"
17+
echo "Go directories in user PATH environment:"
18+
[environment]::GetEnvironmentVariable("PATH","User").split(";") | Select-String -Pattern "\\go\\"
19+
echo "Go directories in process PATH environment:"
20+
[environment]::GetEnvironmentVariable("PATH","Process").split(";") | Select-String -Pattern "\\go\\"
21+
echo "Go version information:"
22+
go version
1423
1524
build_script:
1625
- bash --login -c 'GOARCH=386 script/bootstrap'

0 commit comments

Comments
 (0)