Add coveralls.io to display test coverage

This commit is contained in:
Julian Kornberger 2015-08-19 11:06:47 +02:00
parent 519b366223
commit 5cfd9ea586
2 changed files with 6 additions and 0 deletions

View File

@ -7,3 +7,8 @@ before_install:
- sudo apt-get install -qq vsftpd - sudo apt-get install -qq vsftpd
- sudo cp $TRAVIS_BUILD_DIR/.vsftpd.conf /etc/vsftpd.conf - sudo cp $TRAVIS_BUILD_DIR/.vsftpd.conf /etc/vsftpd.conf
- sudo service vsftpd restart - sudo service vsftpd restart
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
- $GOPATH/bin/goveralls -service=travis-ci

View File

@ -1,6 +1,7 @@
# goftp # # goftp #
[![Build Status](https://travis-ci.org/jlaffaye/ftp.svg?branch=master)](https://travis-ci.org/jlaffaye/ftp) [![Build Status](https://travis-ci.org/jlaffaye/ftp.svg?branch=master)](https://travis-ci.org/jlaffaye/ftp)
[![Coverage Status](https://coveralls.io/repos/jlaffaye/ftp/badge.svg?branch=master&service=github)](https://coveralls.io/github/jlaffaye/ftp?branch=master)
A FTP client package for Go A FTP client package for Go