travis.yaml: stop using -Werror

ghc 7.8 is way too old
This commit is contained in:
Daniel Gröber 2016-07-16 04:03:17 +02:00
parent f3cb30520b
commit a39f03e35c

View File

@ -48,8 +48,8 @@ script:
- rm -rf /tmp/test && mkdir -p /tmp/test
- cd /tmp/test
- tar -xf $SRC_TGZ && cd ghc-mod*/
- if [ -n "$(ghc --version | awk '{ print $8 }' | sed -n '/^7.8/p')" ]; then export WERROR="--ghc-option=-Werror"; fi
- cabal configure --enable-tests $WERROR
# - if [ -n "$(ghc --version | awk '{ print $8 }' | sed -n '/^7.8/p')" ]; then export WERROR="--ghc-option=-Werror"; fi
- cabal configure --enable-tests
- cabal build
- export ghc_mod_datadir=$PWD
- cabal test