Skip to content

Commit

Permalink
travis coverage (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
bivas authored Jul 19, 2017
1 parent f944b3f commit 15a69d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,24 @@ go_import_path: github.com/bivas/rivi
install: true
script:
- export RIVI_DEBUG=1
- go list ./... | grep -v vendor | xargs go test -v
- go list ./... | grep -v vendor | xargs go vet
- go list ./... | grep -v vendor | xargs go test -v
- echo "" > coverage.txt ;
for d in $(go list ./... | grep -v vendor); do
go test -race -coverprofile=profile.out -covermode=atomic $d ;
if [ -f profile.out ]; then
cat profile.out >> coverage.txt ;
rm profile.out ;
fi
done
- GOOS=linux GOARCH=amd64 go build -o rivi
env:
global:
- VERSION=$(echo $TRAVIS_TAG)
- secure: L2jJVUBeu6Ki2kNR18QsFngISb+WxVkGFdWrLhNriRFdFBDbcn7SQfpF4RmiddN/r85NLf1v5LyXeQRdo1QwS8Kjzu8zXh7yJ4LnwKviPmGjpKofaPnNc+uxAe2NXyFT483RB4hD7rBDDrLzJdzeg/iKnUcRbEYKaF1HKbM0MO+lXX4galm+CLeGGChOPjXSbtPf+wliJwcq7wOqDnfM2K2OGD9ckq7I0Cj9F6Z6aMLA1GC/UK/0q5ERLKRQO3sLO60Fn4WsxkTOGajkHd1bXp7wkJPoYu+x57orJBQurZ+tTAMFT5AMqaKhMsjq1BOqkgM0XRy1JpSz36DYYr8v5AujXEQsrix9hzJFLHQ2GaPN6zkLxnfY95Y2PrsEMj6HMdsA9uUblg/gG3uDY8fGfnaRDhtDvMOpNZeltnjHT1INDE+icUBpXxPqPp70TUtWqdUzv8Wa9yehMCDgB8oNi8LJO8KPZyZuI1zlZWttfKbXl9tbr7evyWP8bJwbnZWt+FLa4KmlA1bvn693VaU7JarOOzkh2vxlwVXRhB0teFsziY/UvgvLRzlAJU3cuwPFLvN25oR+E1G/IZsXtMhWG//x+gGhdpDSrJ89vmOLIoL9uJ+3AmmmEBpSmFCZZJJlJ9caBSVTompN+4h4LsQaLS2BjQMM8UGrAeg/mn4NLmg=
- secure: CTC2IJIrfjwWpL7EGii986sFabzpHzhCXde56JXWFnAFIb0KEXY/WtgAkwJ8GB/3Np4CjEOJ6PJD7QWREVLamNvPCF7fU7ahyBcBW4SCnrljOe9mz9x8QwmleLaQQkZ2ciXY3/PyDDqyAFm/pG3/YmkFt7oDL4sp8eJgjrVzxUCTPd5CiHDv/Ui/vfTXLNCi1CIfZ6Gu6h/J2cc+bpKYjxn3fqao2KUzudshe0e/gcmoUCgfHqfxzkyLQakK6YTq3KwYNPdRyY3A7cyYHGLK1oOhodhnk81H/rfzJxvzXV27R3STSKeqYGPl4Y1Y5PFo6/ryeuGea1Aw0fLXjhrp6yPWaQ5DxeSUx+q2M39Pxwu8DnhPn+PMbDWIaxdiiRkxa3MJrf4jVujnNqlhq3m3y8qhZgMOojyHTeryzYOHb4KwcfEK+ujMaKUZfijjB349dJ26GOvnoGowLOGw1MaWOeufkHl9SmsRTcv1XTBYia6rGUluipReb6Pc4EXJdEJJfErpxTagLVWkG0JanIpg19vHenQAWhkGRz6WUpofxQlmscwvezQZh4jpAYTlFOA+/Pwn9RVhiMPJSF9L6cPxxgol1Z1ZkfQa5ETw7Xsf64i+6obcYETnAaRKbiOyjffnxiUG1BAnFT8X7n3Isiz7OXOWQc6INvYGfO44aO0lqKU=
after_success:
- bash <(curl -s https://codecov.io/bash)
- export DOCKER_TAG="unstable"
- if [ "$TRAVIS_BRANCH" == "master" ]; then
export DOCKER_TAG="latest";
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![Build Status](https://travis-ci.org/bivas/rivi.svg?branch=development)](https://travis-ci.org/bivas/rivi)
[![Go Report Card](https://goreportcard.com/badge/github.com/bivas/rivi)](https://goreportcard.com/report/github.com/bivas/rivi)
[![codecov](https://codecov.io/gh/bivas/rivi/branch/development/graph/badge.svg)](https://codecov.io/gh/bivas/rivi)

# rivi
Automate your review process with Rivi the review bot
Expand Down

0 comments on commit 15a69d0

Please sign in to comment.