aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJulien Tanguy <julien.tanguy@jhome.fr>2015-11-17 00:43:37 +0100
committerJulien Tanguy <julien.tanguy@jhome.fr>2015-11-17 00:43:37 +0100
commit8dad8a1c1d5c93607f40f88b0dfd2af3a0f92c42 (patch)
tree48253e191b0d9373a65c90028334e5f340a7bf63
parentc2dfd0780f25efd92310ca0428198ff9aca704d8 (diff)
downloadhmacaroons-8dad8a1c1d5c93607f40f88b0dfd2af3a0f92c42.tar.gz
hmacaroons-8dad8a1c1d5c93607f40f88b0dfd2af3a0f92c42.tar.zst
hmacaroons-8dad8a1c1d5c93607f40f88b0dfd2af3a0f92c42.zip
Change enable-coverage flag for cabal 1.18
-rw-r--r--.travis.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index e30975b..f67be03 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -78,7 +78,12 @@ install:
78script: 78script:
79 - if [ -f configure.ac ]; then autoreconf -i; fi 79 - if [ -f configure.ac ]; then autoreconf -i; fi
80 - cabal install hpc-coveralls --constraint=retry==0.6 80 - cabal install hpc-coveralls --constraint=retry==0.6
81 - cabal configure --enable-tests --enable-benchmarks -v2 --enable-coverage # -v2 provides useful information for debugging 81 - if [ 1.18 = $CABALVER ];
82 then
83 cabal configure --enable-tests --enable-benchmarks -v2 --enable-library-coverage # -v2 provides useful information for debugging
84 else
85 cabal configure --enable-tests --enable-benchmarks -v2 --enable-coverage # -v2 provides useful information for debugging
86 fi
82 - cabal build # this builds all libraries and executables (including tests/benchmarks) 87 - cabal build # this builds all libraries and executables (including tests/benchmarks)
83 - run-cabal-test test 88 - run-cabal-test test
84 - cabal check 89 - cabal check