Why not just make those two separate builds on travis-ci?