Skip to content

Commit

Permalink
travis windows: attempt setting explicitly GO111MODULE
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-m committed Jun 16, 2019
1 parent d434798 commit add8171
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@ go:
- 1.11.x
- 1.12.x

# Building on Windows for 1.12 we get
# travis_install_go_dependencies 1.12.x -v
# go get: warning: modules disabled by GO111MODULE=auto in GOPATH/src;

addons:
apt:
packages:
- rpm

script:
- go install github.com/go-task/task/cmd/task
- task ci
- env GO111MODULE=on go install github.com/go-task/task/cmd/task
- env GO111MODULE=on task ci

deploy:
- provider: script
Expand Down

0 comments on commit add8171

Please # to comment.