aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 9c031216f..3c3ff3425 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -108,7 +108,7 @@ script:
- |
case "$BUILD" in
stack)
- stack --no-terminal $ARGS test --haddock --no-haddock-deps
+ stack --no-terminal $ARGS test --haddock --no-haddock-deps --ghc-options="-Wall -fno-warn-unused-do-bind -Werror"
;;
cabal)
cabal configure --enable-tests --enable-benchmarks -v2 --ghc-options="-O0 -Werror"
@@ -119,7 +119,7 @@ script:
# cabal sdist fails on cabal 1.16:
cabal sdist || [ "$CABALVER" == "1.16" ]
SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && \
- (cd dist && cabal install --force-reinstalls "$SRC_TGZ" || \
+ (cd dist && cabal install --enable-tests --force-reinstalls "$SRC_TGZ" || \
[ "$CABALVER" == "1.16" ])
;;
esac