optimize the travis build matrix a bit