File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,13 @@ skip_branch_with_pr: true
9
9
10
10
environment :
11
11
GOPATH : c:\gopath
12
+ PROTOC_PATH : c:\protoc
13
+ # add protoc, gopath and override default Python 2.7
14
+ PATH : $(PROTOC_PATH)\bin;$(GOPATH)\bin;C:\Python37;C:\Python37\Scripts;$(PATH)
12
15
13
16
stack : go 1.12
14
17
15
18
install :
16
- # override default Python 2.7
17
- - set PATH=C:\Python37;C:\Python37\Scripts;$(PATH)
18
19
# install the task executor
19
20
- curl -o task.zip -LO https://github.com/go-task/task/releases/download/v2.6.0/task_windows_amd64.zip
20
21
- 7z e task.zip -o$(GOPATH)\bin
@@ -27,11 +28,9 @@ install:
27
28
# protobuf tooling needed at test time
28
29
- go get github.com/golang/protobuf/protoc-gen-go
29
30
- curl -o protoc.zip -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.8.0/protoc-3.8.0-win64.zip
30
- - 7z e protoc.zip -o$(GOPATH )
31
+ - 7z e protoc.zip -o$(PROTOC_PATH )
31
32
32
33
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)
35
34
- task.exe test-integration
36
35
37
36
# uncomment to debug builds
You can’t perform that action at this time.
0 commit comments