Commit 93f10fb3 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Add `cabal install` step to Travis-CI script


Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
parent e3abe502
......@@ -24,3 +24,13 @@ script:
- cabal-1.18 build
- cabal-1.18 check
- cabal-1.18 sdist
# The following scriptlet checks that the resulting source distribution can be built & installed
- export SRC_TGZ=$(cabal-1.18 info . | awk '{print $2 ".tar.gz";exit}') ;
cd dist/;
if [ -f "$SRC_TGZ" ]; then
cabal-1.18 install "$SRC_TGZ";
else
echo "expected '$SRC_TGZ' not found";
exit 1;
fi
......@@ -62,7 +62,7 @@ library
ghc-options: -Wall
build-depends: base >= 4.4 && < 5,
build-depends: base >= 4.4 && < 4.8,
directory >= 1.1 && < 1.3,
filepath >= 1.2 && < 1.4,
deepseq >= 1.1 && < 1.4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment