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:
parent
9742c48647
commit
9f664ee6cf
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue