diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2014-12-22 04:46:32 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2014-12-22 04:46:32 +0800 |
commit | 43bf3b4a783e53e5954d9aa19b1423dbfed85029 (patch) | |
tree | 5f011cf8118b9aec32c8a8b69f17e840f9c10145 | |
parent | 05da381c15bed6f46c6ee54e9f8bdfc6c2bb6f64 (diff) | |
download | dexon-43bf3b4a783e53e5954d9aa19b1423dbfed85029.tar.gz dexon-43bf3b4a783e53e5954d9aa19b1423dbfed85029.tar.zst dexon-43bf3b4a783e53e5954d9aa19b1423dbfed85029.zip |
Move goveralls call to script
-rw-r--r-- | .travis.yml | 2 | ||||
-rwxr-xr-x | gocoverage.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index a80338bc3..21c15068b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ before_script: # - go vet ./... # - go test -race ./... script: - - ./gocoverage.sh && goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN + - ./gocoverage.sh env: - secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64=" diff --git a/gocoverage.sh b/gocoverage.sh index 12a4c93cc..24c8e9280 100755 --- a/gocoverage.sh +++ b/gocoverage.sh @@ -29,4 +29,4 @@ go tool cover -func profile.cov # To submit the test coverage result to coveralls.io, # use goveralls (https://github.com/mattn/goveralls) -# goveralls -coverprofile=profile.cov -service=travis-ci +goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN |