summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-03-25 09:13:38 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-03-25 09:14:54 -0700
commit9f664ee6cfb624a49c0253e114a420fca7522423 (patch)
tree546cb5af612e3efdbf6a6c882adce10a21bfc907 /.travis.yml
parent9742c486478e414b495670377923c44c840b9e01 (diff)
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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index f8650d2cb..a715ae367 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 --pedantic
;;
cabal)
cabal configure --enable-tests --enable-benchmarks -v2 --ghc-options="-O0 -Werror"