From 9097e9abbb4deee4fa740142b27a7696f2647861 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Thu, 12 Mar 2015 12:25:05 +0100 Subject: A bunch of fixes --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index d3fc908..63fa1e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,12 @@ install: script: - touch ChangeLog # Create ChangeLog if we're not on the release branch - cabal check + + - cabal sdist + - export SRC_TGZ="$PWD/dist/$(cabal info . | awk '{print $2 ".tar.gz";exit}')" + - rm -rf /tmp/cabal-helper* && cd /tmp + - tar -xf $SRC_TGZ && cd cabal-helper*/ + - if [ -n "$(ghc --version | awk '{ print $8 }' | sed -n '/^7.8/p')" ]; then export WERROR="--ghc-option=-Werror"; fi - cabal configure --enable-tests $WERROR - cabal build -- cgit v1.2.3