Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Set environment variable for go modules
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaupin committed Oct 2, 2018
1 parent 01176b4 commit b4adcb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
language: go

go:
# This is the latest 1.x version of Go
- "1.x"
Expand All @@ -8,10 +7,11 @@ go:
- "1.9"
- "1.10"
- "1.11"

# Use Go modules for dependency management (https://github.com/golang/go/wiki/Modules)
env:
- GO111MODULE=on
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover

# This replaces the default script, which runs go test, because goveralls runs the entire test suite
script:
- $HOME/gopath/bin/goveralls -service=travis-ci

0 comments on commit b4adcb0

Please sign in to comment.