For Travis CI - reshuffle build matrix to optimise build jobs.