windows: attemping appveyor build

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2017-07-10 11:09:05 -05:00
parent 9f4ffc7211
commit 4b4c52fc32
2 changed files with 29 additions and 0 deletions

18
appveyor.yml Normal file
View File

@ -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 ./...

View File

@ -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.")
}