Appveyor support (#2)

This commit is contained in:
Tamási Benjamin
2017-06-20 16:03:55 +02:00
committed by zagrodzki
parent 00e8f24bda
commit aa64bae804
3 changed files with 24 additions and 0 deletions

15
.appveyor/install.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
export PATH="/mingw64/bin:${PATH}"
export PKG_CONFIG_PATH="/mingw64/lib/pkgconfig:${PKG_CONFIG_PATH}"
export GOROOT=/mingw64/lib/go
export GOPATH=/go
export CGO_ENABLED=1
pacman --noconfirm -S \
mingw64/mingw-w64-x86_64-go \
mingw64/mingw-w64-x86_64-libusb
go version
go get -t github.com/google/gousb/...
go test github.com/google/gousb/...