From bdf833314d1c411b9c7dd61bb4f8cc0fcea0e2f4 Mon Sep 17 00:00:00 2001 From: Julien Tanguy Date: Tue, 17 Nov 2015 10:58:53 +0100 Subject: Edit travis.yml Hopefully fixes travis build on ghc-7.8 --- .travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index e74d694..365411c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,14 +78,15 @@ install: script: - if [ -f configure.ac ]; then autoreconf -i; fi - cabal install hpc-coveralls --constraint=retry==0.6 - - if [ 1.18 = $CABALVER ]; - then + - if [ "1.18" = $CABALVER ]; + then cabal configure --enable-tests --enable-benchmarks -v2 --enable-library-coverage # -v2 provides useful information for debugging else cabal configure --enable-tests --enable-benchmarks -v2 --enable-coverage # -v2 provides useful information for debugging fi - cabal build # this builds all libraries and executables (including tests/benchmarks) - run-cabal-test test + - cabal bench - cabal check - cabal sdist # tests that a source-distribution can be generated @@ -99,7 +100,4 @@ script: after_script: - if [ true = $PUSH_DOCS ]; then bash ./scripts/pushdoc.sh; fi - hpc-coveralls test - - - # EOF -- cgit v1.2.3