Distribute travis builds.

This should speed up the build, by running tests in parallel.