29 lines
574 B
YAML
29 lines
574 B
YAML
version: "{build}"
|
|
|
|
clone_folder: c:\gopath\src\gobot.io\x\gobot
|
|
|
|
platform:
|
|
- MinGW_x64
|
|
|
|
environment:
|
|
GOPATH: c:\gopath
|
|
GOROOT: c:\go
|
|
GOVERSION: 1.15
|
|
TEST_EXTERNAL: 1
|
|
|
|
install:
|
|
- set PATH=%PATH%;C:\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin
|
|
- echo %PATH%
|
|
- echo %GOPATH%
|
|
- go version
|
|
- go env
|
|
- go get -d ./...
|
|
- go get github.com/stretchr/testify
|
|
|
|
build_script:
|
|
- go test -v -cpu=2 .
|
|
- 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/...
|