add coverage and goreportcard
@@ -3,6 +3,7 @@ sudo: true
go:
- 1.10.3
script:
+ - $GOPATH/bin/goveralls -service=travis-ci
- make all
- make test
services:
@@ -10,5 +11,6 @@ services:
- postgresql
- redis-server
before_install:
+ - go get github.com/mattn/goveralls
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
- sudo service mysql restart
\ No newline at end of file
