From 25502a7cc5506225fefc34af1683fcab71bcf61c Mon Sep 17 00:00:00 2001 From: Takenori Nakagawa Date: Mon, 19 Oct 2015 02:48:35 +0900 Subject: [PATCH] Update README --- .gitignore | 3 +++ .travis.yml | 1 + README.md | 16 ++++++++++++++++ 3 files changed, 20 insertions(+) diff --git a/.gitignore b/.gitignore index 9a344a9..46848cd 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,7 @@ !.gitignore gopham +dist *.log + +!.travis.yml diff --git a/.travis.yml b/.travis.yml index 6cc88c0..afb02bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ script: - go test -v -covermode=count -coverprofile=coverage.out - goveralls -coverprofile=coverage.out -service travis-ci -repotoken $COVERALLS_TOKEN before_deploy: + - go get github.com/mattn/go-isatty - gox -output dist/{{.OS}}_{{.Arch}}/{{.Dir}} - find dist -name "*_*" -type d -exec cp -R static {} \; - find dist -name "*_*" -type d -exec zip -r {}".zip" {}"/" \; diff --git a/README.md b/README.md index 227605b..18d3c52 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ gopham ====== +[![Build Status][travis-img]][travis-url] +[![Coverage Status][coveralls-img]][coveralls-url] + Push message Manager It is like Google Cloud Messaging. @@ -64,3 +67,16 @@ curl 'http://localhost:3000/sse' --verbose curl 'http://localhost:3000/' --verbose --request POST --header 'Content-Type: application/json' \ --data-binary '{"channel":"test", "data":{"message":"json"}}' ``` + +Download +-------- +[Releases](https://github.com/ww24/gopham/releases) + +LICENSE +------- +[MIT](LICENSE) + +[travis-url]: https://travis-ci.org/ww24/gopham +[travis-img]: https://api.travis-ci.org/ww24/gopham.svg +[coveralls-url]: https://coveralls.io/github/ww24/gopham?branch=master +[coveralls-img]: https://coveralls.io/repos/ww24/gopham/badge.svg?branch=master&service=github