Stop repeated rebuilds on Travis

Changing the build config format causes cabal-install to repeatedly
rebuild the Cabal library during the configure->build->test cycle.
Merge pull request #2117 from ttuegel/issue-2114-travis-rebuilds

Stop repeated rebuilds on Travis