Visual regression tests with Travis CI and GitHub

I’ve been working hard on the n3-charts library, lately. For those who don’t know what it is, you can have a look [here] (spoiler : it’s a charting library for AngularJS apps). One thing that was really annoying was that each time I added a new feature or fixed a bug (wait, aren’t those the same thing ?), I had to manually copy the JavaScript file, check out the gh-pages branch where I have a bunch of examples, paste the JavaScript in the library JavaScript file, and check if I had unleashed the hounds of hell in my code. That was boring, and repetitive. Wait, isn’t that why we invented computers ? To handle boring and repetitive tasks ? Let’s automate this.
Continue reading