2017-07-11 00:09:05 +08:00
|
|
|
version: "{build}"
|
|
|
|
|
2022-09-25 19:20:01 +08:00
|
|
|
image: Visual Studio 2019
|
2017-07-11 00:09:05 +08:00
|
|
|
|
2022-09-25 19:20:01 +08:00
|
|
|
clone_folder: c:\gopath\src\gobot.io\x\gobot
|
2020-10-27 03:15:02 +08:00
|
|
|
|
2017-07-11 00:09:05 +08:00
|
|
|
environment:
|
2022-09-25 19:20:01 +08:00
|
|
|
PATH: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;%PATH%
|
2017-07-11 00:09:05 +08:00
|
|
|
GOPATH: c:\gopath
|
|
|
|
|
2022-09-25 19:20:01 +08:00
|
|
|
before_test:
|
2017-07-11 00:09:05 +08:00
|
|
|
- go version
|
|
|
|
- go env
|
|
|
|
|
|
|
|
build_script:
|
2020-12-01 06:15:15 +08:00
|
|
|
- go test -v -cpu=2 .
|
2022-12-17 18:56:11 +08:00
|
|
|
- go test -v -cpu=2 ./drivers/aio/...
|
|
|
|
- go test -v -cpu=2 ./drivers/i2c/...
|
2023-09-12 16:59:13 +08:00
|
|
|
- go test -v -cpu=2 ./platforms/dji/...
|
2020-12-01 06:10:09 +08:00
|
|
|
- go test -v -cpu=2 ./platforms/firmata/...
|
2022-09-25 19:20:01 +08:00
|
|
|
- go test -v -cpu=2 ./platforms/ble/...
|
2023-09-12 16:59:13 +08:00
|
|
|
- go test -v -cpu=2 ./platforms/joystick/...
|
|
|
|
- go test -v -cpu=2 ./platforms/parrot/...
|
|
|
|
- go test -v -cpu=2 ./platforms/sphero/...
|
2023-05-23 01:35:36 +08:00
|
|
|
- cd ..
|