diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2015-03-12 12:25:05 +0100 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2015-03-12 12:25:05 +0100 |
commit | 9097e9abbb4deee4fa740142b27a7696f2647861 (patch) | |
tree | ac3b82b68e5bb923c2ef92b19dded0d7ab977138 /.travis.yml | |
parent | fb614e639314abe3bf3cf93667708ac6d0749644 (diff) |
A bunch of fixes
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
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 |