File tree 2 files changed +39
-1
lines changed
2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 26
26
desc : Run integration tests only
27
27
cmds :
28
28
- go test -run Integration {{ default "-v" .GOFLAGS }} -coverprofile=coverage_integ.txt {{ default .DEFAULT_TARGETS .TARGETS }} {{.TEST_LDFLAGS}}
29
- - pytest test/
29
+ - pytest test
30
30
31
31
test-legacy :
32
32
desc : Run tests for the `legacy` package
Original file line number Diff line number Diff line change
1
+ build : off
2
+ deploy : off
3
+
4
+ clone_folder : C:\arduino-cli
5
+ shallow_clone : true
6
+
7
+ skip_tags : true
8
+ skip_branch_with_pr : true
9
+
10
+ environment :
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)
15
+
16
+ stack : go 1.12
17
+
18
+ install :
19
+ # install the task executor
20
+ - curl -o task.zip -LO https://github.com/go-task/task/releases/download/v2.6.0/task_windows_amd64.zip
21
+ - 7z e task.zip -o%GOPATH%\bin
22
+ # golang dependencies needed at test time
23
+ - go get github.com/golangci/govet
24
+ - go get golang.org/x/lint/golint
25
+ # Python dependencies needed at test time
26
+ - python -V
27
+ - pip install -r test\requirements.txt
28
+ # protobuf tooling needed at test time
29
+ - go get github.com/golang/protobuf/protoc-gen-go
30
+ - curl -o protoc.zip -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.8.0/protoc-3.8.0-win64.zip
31
+ - 7z e protoc.zip -o%PROTOC_PATH%
32
+
33
+ test_script :
34
+ - task.exe test-integration
35
+
36
+ # uncomment to debug builds
37
+ on_finish :
38
+ - ps : $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
You can’t perform that action at this time.
0 commit comments