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

Commit

Permalink
Add go mod support
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyaglow committed Jun 20, 2019
1 parent 5ec9df7 commit 4debd3c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ addons:

env:
- PATH=/snap/bin:$PATH
- GO111MODULE=on

install:
- go get -d -v ./...
- go mod download
- sudo snap install snapcraft --classic

script:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- GO111MODULE=off go get golang.org/x/tools/cmd/cover
- GO111MODULE=off go get github.com/mattn/goveralls
- go test -v -covermode=count -coverprofile=coverage.out
- goveralls -coverprofile=coverage.out -service=travis-ci -repotoken=$COVERALLS_TOKEN
- rm -f coverage.out
Expand Down

0 comments on commit 4debd3c

Please sign in to comment.