aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
-rw-r--r--pandoc.cabal2
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index dbccb151c..4477efe8a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -119,12 +119,12 @@ script:
case "$BUILD" in
stack)
ulimit -n 4096
- stack --no-terminal $ARGS test --flag 'aeson:fast' --flag pandoc:embed_data_files --haddock --no-haddock-deps --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror"
+ stack --no-terminal $ARGS test --flag 'aeson:fast' --flag pandoc:embed_data_files --haddock --no-haddock-deps --ghc-options="-O0 -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wredundant-constraints -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror"
;;
cabal)
cabal sdist --output-directory=sourcedist && \
cd sourcedist && \
- cabal configure --enable-tests --enable-benchmarks -v2 -fembed_data_files -ffast --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror" && \
+ cabal configure --enable-tests --enable-benchmarks -v2 -fembed_data_files -ffast --ghc-options="-O0 -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -fno-warn-unused-do-bind -Werror" && \
cabal build && \
cabal test
;;
diff --git a/pandoc.cabal b/pandoc.cabal
index 53720be3f..a190ee68a 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -344,7 +344,7 @@ Library
other-modules: Text.Pandoc.Data
if os(windows)
Cpp-options: -D_WINDOWS
- Ghc-Options: -Wall -fno-warn-unused-do-bind
+ Ghc-Options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wredundant-constraints -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind
Ghc-Prof-Options: -fprof-auto-exported
Default-Language: Haskell98
Other-Extensions: PatternGuards, OverloadedStrings,