[nvda-addons] AppVeyor integration with your add-on.

  • From: derek riemer <driemer.riemer@xxxxxxxxx>
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Sat, 9 Jul 2016 16:12:21 -0600

Hello everyone, especially add-on developers:

I recently experimented with continuous integration for two of my add-ons (Crash hero, and notepad++ which I'll hopefuly initiate a review process for in the coming weeks). I decided to see about getting this into the add-on template, and here are my results!!! To use this, place appVeyor.yml and other files in the root of the add-on (Assuming you use the template). Now just make sure

appVeyor has your project setup, and push. Two artifacts will be generated for each push, (blablabla-version.nvda-addon, and blablabla.pot. The pot file is your translatable strings (That generate a .po file, and which you place in lc_messages inside your add-on folder. The add-on file can be downloaded directly. Also, if you are using github, when you push a tag, your add-on will be deployed to the releases page of github. This is not a replacement for testing locally, but might be helpful to some. Also,,, if you host your add-on on a ssh server, you could integrate it with this. Note thazt you have to generate a token with github, and encrypt it on your account page and put it on the line that says secure. My encrypted token is there as an example (It's encrypted, so there's no issue with this being public). files.derekriemer.com/AppVeyor.zip

--
------------------------------------------------------------------------


   Derek Riemer

 * Department of computer science, third year undergraduate student.
 * Proud user of the NVDA screen reader.
 * Open source enthusiast.
 * Member of Bridge Cu
 * Avid skiier.

Websites:
Honors portfolio <http://derekriemer.com>
Awesome little hand built weather app! <http://django.derekriemer.com/weather/>

email me at derek.riemer@xxxxxxxxxxxx <mailto:derek.riemer@xxxxxxxxxxxx>
Phone: (303) 906-2194

Other related posts: