Commit Graph

128 Commits

Author SHA1 Message Date
Bo-Yi Wu fb7109835a refactor: update gofmt check (#233) 2017-06-04 21:26:45 -05:00
Bo-Yi Wu 14dc899b02 feat: check unused package (#232)
* feat: check unused package

update edganiukov/fcm to appleboy/go-fcm

* update readme

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update comment

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-01 02:52:01 -05:00
Bo-Yi Wu 96b5fb4921 Support multi-stage docker build. (#229)
* support multi-stage docker image.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update docker image

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* test docker image.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* test docker image.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix image name

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update tag

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update drone config.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-15 23:29:49 +08:00
Bo-Yi Wu 9b793cf80b refactor: check gofmt error. (#203) 2017-04-01 22:30:46 +08:00
Bo-Yi Wu 590a44209d feat: add fmt check command. (#202) 2017-03-30 14:29:53 +08:00
Bo-Yi Wu 7360bc8a04 fix: typo hashnull -> dev/null (#195) 2017-03-09 01:23:56 -06:00
Bo-Yi Wu 92b9da2f00 refactor: hash is a much faster shell-builtin alternative to which. (#192) 2017-02-27 21:45:00 +08:00
Bo-Yi Wu e9dc429cb8 feat: embed code into markdown and keep everything in sync (#191)
* feat: embed code into markdown and keep everything in sync

* fix: update readme.

* fix: update travis.
2017-02-25 20:31:49 +08:00
Bo-Yi Wu 23bd0d0c56 feat: switch glide to govendor. (#186)
* feat: switch glide to govendor.

* fix: testing
2017-02-19 15:04:00 +08:00
Bo-Yi Wu c144a53107 feat: Add unconvert command 2017-01-28 11:26:05 +08:00
Bo-Yi Wu cbbbc4eef0 fix: Enforce custom LDFLAGS within makefile and add coverage command. 2017-01-17 10:44:33 +08:00
Bo-Yi Wu 73aca36a74 add ARCHS variable.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-01-02 13:58:07 +08:00
Bo-Yi Wu daf5a73395 replac go fmt with gofmt command.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-31 13:31:37 +08:00
Bo-Yi Wu 3a99020086 Support windows target.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-13 22:17:21 +08:00
Bo-Yi Wu 6aa7d541a9 update version.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-10 01:15:45 +08:00
Bo-Yi Wu 6f1edba05b ci skip update travis and makefile.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-09 09:27:17 +08:00
Bo-Yi Wu abb027d8de update makefile.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-09 09:27:16 +08:00
Bo-Yi Wu 4b0be4eb5c remove unused target on Makefile.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-09 09:27:16 +08:00
Bo-Yi Wu bd51a03cc1 Support github release.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-09 09:27:16 +08:00
Bo-Yi Wu a8574afe6a remove docker from travis
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-07 22:11:58 +08:00
Bo-Yi Wu d8835c0d4b Support docker build for production.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-07 22:11:58 +08:00
Bo-Yi Wu acd027bdc1 add version command.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-20 09:54:16 +08:00
Bo-Yi Wu a899081055 fix makefile
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-01 16:11:23 +08:00
Bo-Yi Wu a1885daa9a deploy image from tag event.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-01 14:28:25 +08:00
Bo-Yi Wu b744208a29 Support app version on api.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-30 10:49:52 +08:00
Bo-Yi Wu bf56f592e8 support LevelDB key/value database.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-19 16:19:20 +08:00
Bo-Yi Wu 2fba9b3d74 fix get git version tag.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-17 15:11:18 +08:00
Bo-Yi Wu 1dd8c67e27 fix missing version in no tag condition.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-15 22:53:22 +08:00
Bo-Yi Wu 085d19832a update makefile.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-15 20:43:34 +08:00
Bo-Yi Wu b13fd54ba3 Support BuntDB engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-02 15:35:28 +08:00
Bo-Yi Wu 008bd3d65d fix travis config.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-30 22:05:38 +08:00
Bo-Yi Wu 30d2fd69b1 add docker testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-30 20:55:29 +08:00
Bo-Yi Wu 9112f34b2f Add install dependency tool command.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-22 11:15:31 +08:00
Bo-Yi Wu 511d8b8700 support Count Lines of Code report.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-20 22:49:59 +08:00
Bo-Yi Wu 96eb62f47a add coverage script.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-20 15:50:28 +08:00
Bo-Yi Wu 3f2c6a3147 Support coverage report.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-20 14:13:30 +08:00
Bo-Yi Wu 4c5d482ff6 fix docker testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-19 22:20:23 +08:00
Bo-Yi Wu 65d48331a5 update makefile and travis.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-19 15:50:29 +08:00
Bo-Yi Wu 1c20117b7d remove create random container.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-11 10:33:18 +08:00
Bo-Yi Wu c14eda6d3d Support testing multiple package.
Solution: https://goo.gl/QkJTrA
ref: https://github.com/golang/go/issues/6909

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-30 13:41:26 +08:00
Bo-Yi Wu 4e06eee996 Add codecov service
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-30 10:09:02 +08:00
Bo-Yi Wu b6b42c2c73 remove -w flag from fmt command.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-30 09:38:12 +08:00
Bo-Yi Wu dac36a7d36 remove unknown shorthand flag for docker command.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-29 11:14:52 +08:00
Bo-Yi Wu da12569cff Add go fmt command.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-28 09:19:25 +08:00
Bo-Yi Wu 27445087b4 [ci skip] add comment
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-12 11:10:08 +08:00
Bo-Yi Wu ddfedcb01c Fix docker hub project name.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-10 22:27:25 +08:00
Bo-Yi Wu 1cca70c296 [ci skip] Add docker_production method for build
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-22 22:28:57 +08:00
Bo-Yi Wu cbb05c8afa remove boldb file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-22 22:22:33 +08:00
Bo-Yi Wu e9ab420042 Check globale variable
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-22 11:17:44 +08:00
Bo-Yi Wu cf3b9e6d4f fix docker test
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-13 17:18:03 +08:00
Bo-Yi Wu fc3997f794 unlink coverage file
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-13 14:54:35 +08:00
Bo-Yi Wu c499d407b1 do not cache gorush images.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-11 17:11:21 +08:00
Bo-Yi Wu d97ed3457f support docker compose testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-11 17:00:17 +08:00
Bo-Yi Wu 9a2459af06 add random image name.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-09 17:03:02 +08:00
Bo-Yi Wu 80e1850017 fix add version on docker build.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-09 15:09:58 +08:00
Bo-Yi Wu c0e3a871d6 fix docker build in production.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-04 15:32:51 +08:00
Bo-Yi Wu 25a152b533 Add version number.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-04 15:10:43 +08:00
Bo-Yi Wu 937f35e284 update docker testing script via glide.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-04 15:02:54 +08:00
Bo-Yi Wu b9ca0395a2 update packages dependency.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-04 14:28:40 +08:00
Bo-Yi Wu 372825245c Fix #80 support glide package management
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-04 10:53:17 +08:00
Bo-Yi Wu 40902070c5 Add all test in Makefile.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-04 09:29:36 +08:00
Bo-Yi Wu 0a673bde48 fixed #78 docker test error.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-03 20:39:24 +08:00
Bo-Yi Wu ef8e4daa1a Fixed #77 Move storage plugin to top folder.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-03 10:26:13 +08:00
Bo-Yi Wu 865f55438d add all test task.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-03 09:42:53 +08:00
Bo-Yi Wu 36dc3335f8 Add HTML presentation for code coverage.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 11:01:07 +08:00
Bo-Yi Wu 5f98f87014 update test script.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 10:51:05 +08:00
Bo-Yi Wu 458254b8e0 update readme for topic flag.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-28 14:45:25 +08:00
Bo-Yi Wu 74e83d8726 rename to gorush
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-13 15:22:04 +08:00
Bo-Yi Wu d87aed23de fix golint error.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-13 14:59:28 +08:00
Bo-Yi Wu c8e1bf2805 [ci skip] update readme.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-12 22:45:37 +08:00
Bo-Yi Wu 70f2437b76 Add after_success in travis.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-12 11:10:04 +08:00
Bo-Yi Wu d047841329 #10 support deploy production image to docker hub.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-11 17:18:53 +08:00
Bo-Yi Wu 2bf88e4a4f #10 support docker build image for production.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-11 16:38:59 +08:00
Bo-Yi Wu 5f93c9f861 #10 support testing in docker.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-11 14:10:46 +08:00
Bo-Yi Wu bbfc058d05 support multiple notification request.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-04-10 11:36:49 +08:00
Bo-Yi Wu 3114d1b2f8 add build script file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-27 22:37:54 +08:00
Bo-Yi Wu 59beeb7183 set ios and android as disabled mode.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-27 21:07:11 +08:00
Bo-Yi Wu 96c04cb7a1 support linux and windows bin files.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-27 20:20:57 +08:00