diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-22 21:46:32 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-22 21:46:32 +0800 |
commit | 60b1f9629cf422c4ea2244f673b90553407f1276 (patch) | |
tree | b887bd244985f8b4360f0b0edc9aacdcd3f07013 /gocoverage.sh | |
parent | 4051c0333f43765a7414a4e0e8ac51e7148b0646 (diff) | |
parent | e531c6fc6cb9c54969a85eca6642561dff958a27 (diff) | |
download | dexon-60b1f9629cf422c4ea2244f673b90553407f1276.tar dexon-60b1f9629cf422c4ea2244f673b90553407f1276.tar.gz dexon-60b1f9629cf422c4ea2244f673b90553407f1276.tar.bz2 dexon-60b1f9629cf422c4ea2244f673b90553407f1276.tar.lz dexon-60b1f9629cf422c4ea2244f673b90553407f1276.tar.xz dexon-60b1f9629cf422c4ea2244f673b90553407f1276.tar.zst dexon-60b1f9629cf422c4ea2244f673b90553407f1276.zip |
Merge branch 'develop' into poc8
Diffstat (limited to 'gocoverage.sh')
-rwxr-xr-x | gocoverage.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gocoverage.sh b/gocoverage.sh index 35038108b..24c8e9280 100755 --- a/gocoverage.sh +++ b/gocoverage.sh @@ -13,7 +13,10 @@ for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -type d) do if ls $dir/*.go &> /dev/null; then # echo $dir - go test -covermode=count -coverprofile=$dir/profile.tmp $dir + if [[ $dir != "./tests/vm" ]] + then + go test -covermode=count -coverprofile=$dir/profile.tmp $dir + fi if [ -f $dir/profile.tmp ] then cat $dir/profile.tmp | tail -n +2 >> profile.cov @@ -26,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 |