USB detection for Windows (based on setupapi)

This commit is contained in:
Cristian Maglie
2016-10-22 18:36:35 +02:00
parent 2d0a54e6c8
commit ad7966a434
5 changed files with 444 additions and 10 deletions

View File

@@ -23,6 +23,7 @@ matrix:
before_install:
script:
- GOARM=5 GO386=387 GOOS=$TEST_OS GOARCH=$TEST_ARCH go get github.com/stretchr/testify/require
- GOARM=5 GO386=387 GOOS=$TEST_OS GOARCH=$TEST_ARCH go get golang.org/x/sys/windows
- GOARM=5 GO386=387 GOOS=$TEST_OS GOARCH=$TEST_ARCH go build -v ./...
- GOARM=5 GO386=387 GOOS=$TEST_OS GOARCH=$TEST_ARCH go test -c -v go.bug.st/serial.v1