Skip to content

Commit

Permalink
windows: attemping appveyor build
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Jul 10, 2017
1 parent 9f4ffc7 commit 4b4c52f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
18 changes: 18 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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 ./...
11 changes: 11 additions & 0 deletions platforms/ble/ble_client_adaptor_windows.go
Original file line number Diff line number Diff line change
@@ -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.")
}

0 comments on commit 4b4c52f

Please sign in to comment.