diff --git a/.travis.yml b/.travis.yml index 9310695..71f8558 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,8 @@ install: - go get github.com/mattn/goveralls script: - - ./travis.sh + - go test -v -covermode=count -coverprofile=coverage.out ./... + - goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN env: global: diff --git a/travis.sh b/travis.sh deleted file mode 100755 index 11559bb..0000000 --- a/travis.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -set -ev -cd passwd -if [ "${COVERAGE}" = "true" ]; then - go test -v -covermode=count -coverprofile=coverage.out ./... - goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN -else - go test -v ./... -fi