travis: use build matrix to break down testing targets