Force reinstalls when installing dependencies

This commit is contained in:
Victor Denisov 2019-02-26 18:41:38 -08:00
parent eb7273e091
commit 85fc268ce4

View file

@ -56,7 +56,7 @@ install:
- wget https://www.stackage.org/$STACKAGE/cabal.config - wget https://www.stackage.org/$STACKAGE/cabal.config
- sed -e '/mongoDB/d' cabal.config > cabal.config.new - sed -e '/mongoDB/d' cabal.config > cabal.config.new
- mv cabal.config.new cabal.config - mv cabal.config.new cabal.config
- cabal install --only-dependencies --enable-tests --enable-benchmarks - cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls
script: script:
- cabal configure --enable-tests -v2 --enable-benchmarks - cabal configure --enable-tests -v2 --enable-benchmarks