From 8e6c9f66325638fe51db54c2ab522122d8ce07cc Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Sat, 8 Apr 2017 11:22:45 -0400 Subject: [PATCH] .travis.yml: Add coveralls --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index c92e80d..7d9d5e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,15 @@ language: go +os: + - linux + go: - 1.8.x - master + +script: + - go get golang.org/x/tools/cmd/cover + - go get github.com/mattn/goveralls + - go install github.com/mattn/goveralls + - go test -v -covermode=count -coverprofile=coverage.out + - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN