Use sandboxes for package build
Installation of cabal and hpc may cause dependency conflicts.
This commit is contained in:
parent
fff024b135
commit
f3353c94ef
1 changed files with 2 additions and 1 deletions
|
@ -27,8 +27,9 @@ install:
|
||||||
- travis_retry cabal update
|
- travis_retry cabal update
|
||||||
# Install the combined dependencies for this package and all other packages
|
# Install the combined dependencies for this package and all other packages
|
||||||
# needed to reduce conflicts.
|
# needed to reduce conflicts.
|
||||||
- cabal install --only-dependencies --enable-tests . hpc-coveralls
|
|
||||||
- cabal install hpc-coveralls
|
- cabal install hpc-coveralls
|
||||||
|
- cabal sandbox init
|
||||||
|
- cabal install --only-dependencies --enable-tests . hpc-coveralls
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cabal configure --enable-tests --enable-coverage -v2
|
- cabal configure --enable-tests --enable-coverage -v2
|
||||||
|
|
Loading…
Reference in a new issue