Skip to content

Commit daed7a1

Browse files
committed
try setting path manually
1 parent 2c01f0d commit daed7a1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: appveyor.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ skip_branch_with_pr: true
99

1010
environment:
1111
GOPATH: c:\gopath
12-
# add protoc, gopath and override default Python 2.7
13-
PATH: c:\protoc\bin;$(GOPATH)\bin;C:\Python37;C:\Python37\Scripts;$(PATH)
1412

1513
stack: go 1.12
1614

1715
install:
16+
# override default Python 2.7
17+
- set PATH=C:\Python37;C:\Python37\Scripts;$(PATH)
1818
# install the task executor
1919
- curl -o task.zip -LO https://github.com/go-task/task/releases/download/v2.6.0/task_windows_amd64.zip
2020
- 7z e task.zip -o$(GOPATH)\bin
@@ -30,6 +30,8 @@ install:
3030
- 7z e protoc.zip -o$(GOPATH)
3131

3232
test_script:
33+
# add protoc, gopath and override default Python 2.7
34+
- set PATH=c:\protoc\bin;$(GOPATH)\bin;C:\Python37;C:\Python37\Scripts;$(PATH)
3335
- task.exe test-integration
3436

3537
# uncomment to debug builds

0 commit comments

Comments
 (0)