build: enable Windows builds
@@ -9,20 +9,24 @@ matrix:
- os: windows
- go: master
include:
+ # Linux
- os: linux
go: 1.13.x
cache:
- directories:
- - "/home/travis/.cache/go-build"
+ directories: ["$HOME/.cache/go-build", "$GOPATH/pkg/mod"]
+ - os: linux
+ go: master
+ # macOS
- os: osx
go: 1.13.x
cache:
- directories:
- - "/Users/travis/Library/Caches/go-build"
- # - os: windows
- # go: 1.13.x
- - os: linux
- go: master
+ directories: ["$HOME/Library/Caches/go-build", "$GOPATH/pkg/mod"]
+ # Windows
+ - os: windows
+ go: 1.13.x
+ cache:
+ directories: ["C:\\Users\\travis\\AppData\\Local\\go-build"]
+
env:
matrix:
- GO111MODULE=on
