diff --git a/.travis.yml b/.travis.yml index a5ac4c7..4d6e364 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,11 @@ language: go go: - 1.9.2 - - release - - tip - +env: + global: + - COVERALLS_TOKEN=lhWzILT1WMRgrHXsEhauQOGsoby1nm7DR script: - - go test -v ./... \ No newline at end of file + - go get golang.org/x/tools/cmd/cover + - go get github.com/mattn/goveralls + - go test -v -covermode=count -coverprofile=coverage.out ./... + - goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN \ No newline at end of file diff --git a/travisci.yml b/travisci.yml deleted file mode 100644 index 4d6e364..0000000 --- a/travisci.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: go -go: - - 1.9.2 -env: - global: - - COVERALLS_TOKEN=lhWzILT1WMRgrHXsEhauQOGsoby1nm7DR -script: - - go get golang.org/x/tools/cmd/cover - - go get github.com/mattn/goveralls - - go test -v -covermode=count -coverprofile=coverage.out ./... - - goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN \ No newline at end of file