aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2015-03-12 12:25:05 +0100
committerDaniel Gröber <dxld@darkboxed.org>2015-03-12 12:25:05 +0100
commit9097e9abbb4deee4fa740142b27a7696f2647861 (patch)
treeac3b82b68e5bb923c2ef92b19dded0d7ab977138 /.travis.yml
parentfb614e639314abe3bf3cf93667708ac6d0749644 (diff)
A bunch of fixes
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 6 insertions, 0 deletions
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