3f5d9432ff
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.
8 lines
310 B
YAML
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'
|