diff options
-rw-r--r-- | .travis.yml | 7 |
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: | |||
78 | script: | 78 | script: |
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 |