First attempt at a travis build setup.
The previous updates to cache broke lots of things. This commit fixes it again, whilst still hopefully keeping the benefits.