From dd5ef80683b5790f53af85ad7afab9cd1d4408b0 Mon Sep 17 00:00:00 2001 From: rhysd Date: Sat, 30 Dec 2017 14:14:08 +0900 Subject: [PATCH] add badges and links to CI and doc and coverage --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b97c852..a7e6568 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,11 @@ Self-Update Mechanism for Go Commands using GitHub ================================================== +[![GoDoc Badge][]][GoDoc] +[![TravisCI Status][]][TravisCI] +[![AppVeyor Status][]][AppVeyor] +[![Codecov Status][]][Codecov] + [go-github-selfupdate][] is a Go library to provide self-update mechanism to command line tools. Go does not provide the way to install/update the stable version of tools. By default, Go command line tools are updated @@ -19,7 +24,7 @@ If newer version than itself is detected, it downloads released binary from GitH - Automatically detects the latest version of released binary on GitHub - Retrieve the proper binary for the OS and arch where the binary is running - Update the binary with rollback support on failure -- Tested on Linux, macOS and Windows +- Tested on Linux, macOS and Windows (using Travis CI and AppVeyor) - Many archive and compression formats are supported (zip, gzip, tar) [go-github-selfupdate]: https://github.com/rhysd/go-github-selfupdate @@ -228,7 +233,11 @@ tj/go-update: Distributed under the [MIT License](LICENSE) - - +[GoDoc Badge]: https://godoc.org/github.com/rhysd/go-github-selfupdate/selfupdate?status.svg [GoDoc]: https://godoc.org/github.com/rhysd/go-github-selfupdate/selfupdate - +[TravisCI Status]: https://travis-ci.org/rhysd/go-github-selfupdate.svg?branch=master +[TravisCI]: https://travis-ci.org/rhysd/go-github-selfupdate +[AppVeyor Status]: https://ci.appveyor.com/api/projects/status/1tpyd9q9tw3ime5u/branch/master?svg=true +[AppVeyor]: https://ci.appveyor.com/project/rhysd/go-github-selfupdate/branch/master +[Codecov Status]: https://codecov.io/gh/rhysd/go-github-selfupdate/branch/master/graph/badge.svg +[Codecov]: https://codecov.io/gh/rhysd/go-github-selfupdate