2017-07-11 00:09:05 +08:00
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
os: Windows Server 2012 R2
|
|
|
|
|
2017-07-12 22:19:36 +08:00
|
|
|
clone_folder: c:\gopath\src\gobot.io\x\gobot
|
2017-07-11 00:09:05 +08:00
|
|
|
|
|
|
|
environment:
|
|
|
|
GOPATH: c:\gopath
|
2017-07-11 00:22:55 +08:00
|
|
|
GOROOT: c:\go
|
2019-10-15 15:21:19 +08:00
|
|
|
GO111MODULE: on
|
2017-07-11 00:09:05 +08:00
|
|
|
|
|
|
|
install:
|
|
|
|
- echo %PATH%
|
|
|
|
- echo %GOPATH%
|
|
|
|
- go version
|
|
|
|
- go env
|
|
|
|
- go get -d ./...
|
2018-08-31 23:23:00 +08:00
|
|
|
- go get github.com/stretchr/testify
|
2017-07-11 00:09:05 +08:00
|
|
|
|
|
|
|
build_script:
|
2017-07-12 22:35:37 +08:00
|
|
|
- go test -v -cpu=2 .
|
2017-07-12 23:26:45 +08:00
|
|
|
- go test -v -cpu=2 ./drivers/aio
|
|
|
|
- go test -v -cpu=2 ./drivers/gpio
|
|
|
|
- go test -v -cpu=2 ./drivers/i2c
|
2017-07-12 22:35:37 +08:00
|
|
|
- go test -v -cpu=2 ./platforms/firmata/...
|