Use a build matrix for Travis tests