Skip to content

Commit 409122f

Browse files
authored
Merge pull request git-lfs#1979 from git-lfs/appveyor-go-env-debug
Use system Go 1.8 on AppVeyor
2 parents a2ad5bf + d93e144 commit 409122f

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

appveyor.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,17 @@ environment:
77
clone_folder: $(GOPATH)\src\github.com\git-lfs\git-lfs
88

99
install:
10-
- rd C:\Go /s /q
11-
- cinst golang --version 1.8.0 -y
1210
- cinst InnoSetup -y
1311
- refreshenv
12+
- ps: |
13+
echo "Go directories in machine PATH environment:"
14+
[environment]::GetEnvironmentVariable("PATH","Machine").split(";") | Select-String -Pattern "\\go\\"
15+
echo "Go directories in user PATH environment:"
16+
[environment]::GetEnvironmentVariable("PATH","User").split(";") | Select-String -Pattern "\\go\\"
17+
echo "Go directories in process PATH environment:"
18+
[environment]::GetEnvironmentVariable("PATH","Process").split(";") | Select-String -Pattern "\\go\\"
19+
echo "Go version information:"
20+
go version
1421
1522
build_script:
1623
- bash --login -c 'GOARCH=386 script/bootstrap'

script/bootstrap

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
33

4-
go version
5-
64
if uname -s | grep -q "_NT-"; then
75
# Tell Cygwin / MSYS to really create symbolic links.
86
export CYGWIN="$CYGWIN winsymlinks:nativestrict"

script/cibuild

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#!/usr/bin/env bash
22
set -e
3-
4-
go version
5-
63
script/test
74

85
# re-run test to ensure GIT_TRACE output doesn't leak into the git package

0 commit comments

Comments
 (0)