windows: attemping appveyor build
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
9f4ffc7211
commit
4b4c52fc32
|
@ -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 ./...
|
|
@ -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.")
|
||||||
|
}
|
Loading…
Reference in New Issue