travis.yml: prevent stack from re-generating the Cabal files
If it does, the build will be broken because the generated Cabal file is
broken, apparently. https://travis-ci.org/NixOS/cabal2nix/builds/120919872
shows the issue.
commitad415ce580a6f7875f0e0634aca951cff913523c
authorPeter Simons <simons@cryp.to>
dateTue 5 Apr 2016, 23:05 (11 years ago)
parent70c9ca8
.travis.yml+1
@@ -11,6 +11,7 @@ before_install:
1111 - curl -L https://github.com/commercialhaskell/stack/releases/download/v1.0.4/stack-1.0.4-linux-x86_64.tar.gz | tar xfz -
1212 - install -m 555 -D stack-1.0.4-linux-x86_64/stack $HOME/.local/bin/stack
1313 - export PATH=$HOME/.local/bin:$PATH
14+ - rm -v */package.yaml # prevent stack from trying to re-generate the cabal files
1415 - stack setup
1516
1617install: