Skip to content

Commit

Permalink
temp push only js coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
djherbis committed Dec 31, 2018
1 parent 57a388a commit 8342cc9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ script() {
then
COVERALLS_PARALLEL=true
go get github.com/axw/gocov/gocov github.com/mattn/goveralls golang.org/x/tools/cmd/cover
go test -covermode=count -coverprofile=profile.cov
# go test -covermode=count -coverprofile=profile.cov

# add js coverage
if [ "$TRAVIS_OS_NAME" == "linux" ];
then
bash js.cover.sh
fi

PROFILES=`ls -dm profile.cov*`
PROFILES=${PROFILES// /}
$HOME/gopath/bin/goveralls -coverprofile="$PROFILES" -service=travis-ci -repotoken $COVERALLS_TOKEN
# PROFILES=`ls -dm profile.cov*`
# PROFILES=${PROFILES// /}
$HOME/gopath/bin/goveralls -coverprofile=profile.cov.js -service=travis-ci -repotoken $COVERALLS_TOKEN
fi

go get golang.org/x/lint/golint && golint ./...
Expand Down

0 comments on commit 8342cc9

Please sign in to comment.