Closed yyoshiki41 closed 8 years ago
I met this error in travis-ci.
$ $GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN flag needs an argument: -repotoken ... The command "$GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN" exited with 2.
$COVERALLS_TOKEN is not necessary. c.f. Docs
$COVERALLS_TOKEN
For a public github repository, it is not necessary to define your repository key (COVERALLS_TOKEN).
In other ways, add = like this. maybe, it works.
=
-repotoken $COVERALLS_TOKEN
-repotoken=$COVERALLS_TOKEN
This change is
Coverage remained the same at 59.027% when pulling a1001b999510e0fb617e624c6a281925e6190dfa on yyoshiki41:fix/goveralls into 86c6f29e928613af618cc7e1a47b5172cf0532a1 on grafov:master.
Thanks, and agreed, I don't have this token on my other services either.
@yyoshiki41 thank you for the explanation.
👍
I met this error in travis-ci.
Resolution
$COVERALLS_TOKEN
is not necessary. c.f. DocsIn other ways, add
=
like this. maybe, it works.-repotoken $COVERALLS_TOKEN
-repotoken=$COVERALLS_TOKEN
This change is