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.
commit9f664ee6cfb624a49c0253e114a420fca7522423
authorJohn MacFarlane <jgm@berkeley.edu>
dateFri 25 Mar 2016, 09:13 (11 years ago)
parent9742c48
.travis.yml+1−1
@@ -108,7 +108,7 @@ script:
108108- |
109109 case "$BUILD" in
110110 stack)
111− stack --no-terminal $ARGS test --haddock --no-haddock-deps
111+ stack --no-terminal $ARGS test --haddock --no-haddock-deps --pedantic
112112 ;;
113113 cabal)
114114 cabal configure --enable-tests --enable-benchmarks -v2 --ghc-options="-O0 -Werror"