Enable Werror on CI.

This commit is contained in:
Julian K. Arni 2016-03-18 15:57:48 +01:00
parent da1beba7f4
commit b80a61d6c4

View file

@ -25,7 +25,7 @@ install:
- sed -i 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config - sed -i 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config
script: script:
- for package in $(cat sources.txt); do (echo testing $package && cd $package && tinc && cabal configure --enable-tests --disable-optimization && cabal build && cabal test) || exit 1; done - for package in $(cat sources.txt); do (echo testing $package && cd $package && tinc && cabal configure --enable-tests --disable-optimization --ghc-options="-Werror"&& cabal build && cabal test) || exit 1; done
cache: cache:
directories: directories: