Add --pedantic to stack build on travis.

This turns on -Wall, -Werror.
-Werror is already there for cabal builds, but for some reason
travis isn't failing when errors occur.
This commit is contained in:
John MacFarlane 2016-03-25 09:13:38 -07:00
parent 9742c48647
commit 9f664ee6cf

View file

@ -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 --pedantic
;;
cabal)
cabal configure --enable-tests --enable-benchmarks -v2 --ghc-options="-O0 -Werror"