Skip to content

www.rolfje.com

Travis CI and Dependabot added to Anonimatron

Posted on 2018-04-26 By rolfje No Comments on Travis CI and Dependabot added to Anonimatron

With new European rules like the GDPR and local variations like the Dutch AVG, interest in Anonimatron is increasing. Although I do not keep track of who is using it and where, sometimes new requirements do pop up. Recently a feature was added to Anonimatron 1.9.2 to also anonymize files.

In the wake of those additions, I planned to give Travis CI a try to automate the builds. It turns out that Travis CI integrates beautifully with GitHub, and automatically builds branches and pull requests right out of the box.

At the office, we had a discussion about keeping libraries up to date with the maven dependency plugin for our client projects. We came up with a system to use the maven dependency plugin on a separate branch to automatically do that on our buildserver. It turns out that there is a service called Dependabot which does nearly the same thing. Dependabot looks at your GitHub project, and creates pull requests for each library it upgrades.

All these services are free for Open Source projects, so Anonimatron would be a great candidate for testing them. I am pretty happy with the way it currently works, and getting this up and running was really simple:

  1. Make sure your Open Source project builds with any of the main stream build tools supported by Travis CI like Maven or Gradle. Try to keep the build as simple as possible.
  2. Create an account with Travis CI with your GitHub account. After registration, Travis CI shows you a list of your projects. Select one and follow the steps. After a few mouse clicks Travis CI should be building your project.
  3. Create an account with Dependabot. As in step 2, select your project and follow the Dependabot guide to setting it up.
  4. After a while you should see pull request arriving in your GitHub project, one for each upgraded library. Travis CI immediately builds those Pull Requests and a green tickmark or red cross shows next to the branch.

There you go, your project now has automatic builds and automatic version upgrades, like a pro. Please note that in order to confidently upgrade libraries, you need to have proper tests! Look at the Anonimatron Test Suite  to get an idea.

Happy coding!

Software Tags:Anonimatron, security, Utilities

Post navigation

Previous Post: 1N4148 diode as RF switch
Next Post: Logging in with SSH certificates

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

           

Recent Comments

  • rolfje on Methode Buijs uitgelegd
  • LinkedIn is at Peak Enshittifaction – Will Chatham's Blog on Linked-In not really Opt-in?
  • Hans j on 1N4148 diode as RF switch
  • Roaming Rhonda on DLNA on OSX, done right
  • Frans on How to fix a Krups XN2001 Nespresso machine

Tags

Anonimatron Apple backup design DIY DRM eclipse environment Fun gmail google hacking hamradio Hardware helicopter iphone ipod iTunes Java Keynote maven modelling motorcycle music news opinion oracle osx photo photography programming repair review security Software Steve Jobs T-Mobile technology Time Machine Ubuntu usability Utilities vacation windows Workshop

Categories

  • Apple (105)
  • Divorce (1)
  • Electronics (3)
  • Fun (57)
  • Games (7)
  • Hardware (72)
  • Microsoft (18)
  • Racing (14)
  • Software (134)
  • Uncategorized (65)
  • Workshop (20)

Archives

Copyright © 2025 www.rolfje.com.

Powered by PressBook WordPress theme