Setup for travis-ci builds
Even though the test suite sucks.