chore(travis): improve build time by using test matrix