update wechat custom menu automatically with github and travis-ci
Edit data/menu.json and push.
- fork this project
 - switch on travis-ci in your accounts page for your project
 - replace the secure data in 
.travis.ymlwith your encrypted appID and appSecret. See steps below for details - create your own 
menu.json - push the changes to github
 
$ gem install travis
$ travis encrypt APP_ID=your-app-id --add
$ travis encrypt APP_SECRET=your-app-secret --addnpm run-script deploy
just include [ci skip] in your commit message
- detect failure status
 - print debug information in travis log (muted stdout for now to protect the secret)
 - disable building for pull request
 
- local preview of the menu (low priorty as wechat refreshes the menu in just a few minutes)
 
