25 lines
449 B
YAML
25 lines
449 B
YAML
version: "{build}"
|
|
|
|
os: Windows Server 2012 R2
|
|
|
|
clone_folder: c:\gopath\src\gobot.io\x\gobot
|
|
|
|
environment:
|
|
GOPATH: c:\gopath
|
|
GOROOT: c:\go
|
|
|
|
install:
|
|
- echo %PATH%
|
|
- echo %GOPATH%
|
|
- go version
|
|
- go env
|
|
- go get -d ./...
|
|
|
|
build_script:
|
|
- go test -v -cpu=2 .
|
|
- go test -v -cpu=2 ./api
|
|
- go test -v -cpu=2 ./drivers/aio
|
|
- go test -v -cpu=2 ./drivers/gpio
|
|
- go test -v -cpu=2 ./drivers/i2c
|
|
- go test -v -cpu=2 ./platforms/firmata/...
|