Skip to content

Commit

Permalink
Merge pull request #13 from intelligentpos/update-go-version
Browse files Browse the repository at this point in the history
Update go version and add gometalinter
  • Loading branch information
geototti21 authored Nov 20, 2018
2 parents 1de0807 + 42469fb commit 1f24a3c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
language: go

go:
- 1.8
- "1.11.x"

before_install:
- go get github.com/golang/lint/golint
- go get -u github.com/alecthomas/gometalinter
- go get github.com/mattn/goveralls

install:
- go get -t -v ./...
- gometalinter --install

script:
- go test -v -covermode=count -coverprofile=coverage.out
- go vet -v ./...
- golint -set_exit_status $(glide novendor)
- gometalinter --fast --vendor ./...
- go test ./... -coverprofile cover.out -covermode count -coverpkg ./...

after_script:
- goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
- goveralls -v -coverprofile cover.out -service=travis-ci -repotoken $COVERALLS_TOKEN

0 comments on commit 1f24a3c

Please sign in to comment.