diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..e3d3f711 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,18 @@ +version: "{build}" + +os: Windows Server 2012 R2 + +clone_folder: c:\gopath\src\github.com\hybridgroup\gobot + +environment: + GOPATH: c:\gopath + +install: + - echo %PATH% + - echo %GOPATH% + - go version + - go env + - go get -d ./... + +build_script: + - go test -v -cpu=2 ./... diff --git a/platforms/ble/ble_client_adaptor_windows.go b/platforms/ble/ble_client_adaptor_windows.go new file mode 100644 index 00000000..9f18efa4 --- /dev/null +++ b/platforms/ble/ble_client_adaptor_windows.go @@ -0,0 +1,11 @@ +package ble + +import ( + "errors" + + blelib "github.com/currantlabs/ble" +) + +func defaultDevice(impl string) (d blelib.Device, err error) { + return nil, errors.New("Not yet implemented for this OS.") +}