Skip to content

Commit

Permalink
ci(go1.11): Enable module support in build and test steps
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamSLevy committed Aug 28, 2018
1 parent c7be748 commit 5c7fc37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ go:
- 1.7
- 1.8
- 1.9
- 1.10
- 1.11
before_install:
- go get github.com/mattn/goveralls
- wget http://www.modbusdriver.com/downloads/diagslave.2.12.zip
Expand All @@ -11,7 +13,8 @@ before_install:
- chmod u+x diagslave/linux/diagslave
- export PATH="$PWD/diagslave/linux/:$PATH"
script:
- go test -v -race -coverprofile=coverage.out
- env GO111MODULE=on go build
- env GO111MODULE=on go test -v -race -coverprofile=coverage.out
after_script:
- goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
git:
Expand Down

0 comments on commit 5c7fc37

Please sign in to comment.