pandoc/.travis.yml
Albert Krewinkel 3f5d9432ff Force failure of a Travis build if GHC produces warnings
Pandoc should, as stated in CONTRIBUTING.md, always compile without
warnings.  This patch forces GHC to treat warnings like errors during
Travis builds, making it possible to catch mistakes (like missing
top-level type definitions) early.
2014-04-09 17:58:55 +02:00

8 lines
310 B
YAML

language: haskell
before_install:
- cabal install cabal-dev
- 'git clone https://github.com/jgm/pandoc-types && cabal-dev add-source pandoc-types'
install:
- cabal-dev install-deps --enable-tests
script:
- 'cabal-dev configure --enable-tests && cabal-dev build --ghc-options=-Werror && cabal-dev test'