Prepare travis builds for tests.