forked from cerc-io/plugeth
Move goveralls call to script
This commit is contained in:
parent
05da381c15
commit
43bf3b4a78
@ -19,7 +19,7 @@ before_script:
|
|||||||
# - go vet ./...
|
# - go vet ./...
|
||||||
# - go test -race ./...
|
# - go test -race ./...
|
||||||
script:
|
script:
|
||||||
- ./gocoverage.sh && goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN
|
- ./gocoverage.sh
|
||||||
env:
|
env:
|
||||||
- secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64="
|
- secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64="
|
||||||
|
|
||||||
|
@ -29,4 +29,4 @@ go tool cover -func profile.cov
|
|||||||
|
|
||||||
# To submit the test coverage result to coveralls.io,
|
# To submit the test coverage result to coveralls.io,
|
||||||
# use goveralls (https://github.com/mattn/goveralls)
|
# use goveralls (https://github.com/mattn/goveralls)
|
||||||
# goveralls -coverprofile=profile.cov -service=travis-ci
|
goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN
|
||||||
|
Loading…
Reference in New Issue
Block a user