Fix travis for 0.12

Fixes #787

The dynamic branch switching is rather shitty, as there is now no way to run CI for PRs against master. The only way of fixing this I can think of is to have a file similar to a Gemfile.lock that records the SHA of the referenced repos :(