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
|
2017-07-11 00:09:05 +08:00
|
|
|
|
|
|
|
install:
|
|
|
|
- echo %PATH%
|
|
|
|
- echo %GOPATH%
|
|
|
|
- go version
|
|
|
|
- go env
|
|
|
|
- go get -d ./...
|
|
|
|
|
|
|
|
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/...
|