diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-03-25 09:13:38 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-03-25 09:14:54 -0700 |
commit | 9f664ee6cfb624a49c0253e114a420fca7522423 (patch) | |
tree | 546cb5af612e3efdbf6a6c882adce10a21bfc907 | |
parent | 9742c486478e414b495670377923c44c840b9e01 (diff) | |
download | pandoc-9f664ee6cfb624a49c0253e114a420fca7522423.tar.gz |
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.
-rw-r--r-- | .travis.yml | 2 |
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" |