[commit: packages/binary] master: Improve Travis integration. (0e2d466)
git at git.haskell.org
git at git.haskell.org
Sun Dec 14 17:55:11 UTC 2014
Repository : ssh://git@git.haskell.org/binary
On branch : master
Link : http://git.haskell.org/packages/binary.git/commitdiff/0e2d4660732add5d3fe290b0dc326057dbdf6de8
>---------------------------------------------------------------
commit 0e2d4660732add5d3fe290b0dc326057dbdf6de8
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date: Sun May 11 21:46:21 2014 +0400
Improve Travis integration.
>---------------------------------------------------------------
0e2d4660732add5d3fe290b0dc326057dbdf6de8
.travis.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index eb4be6f..23870bf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,6 +14,7 @@ before_install:
install:
- cabal-1.20 update
+ - cabal-1.20 sandbox init
# can't use "cabal install --only-dependencies --enable-tests --enable-benchmarks" due to dep-cycle
- cabal-1.20 install criterion deepseq mtl "QuickCheck >= 2.7.3" HUnit "test-framework-quickcheck2 >= 0.3" "random >= 1.0.1.0" attoparsec cereal -j
@@ -27,9 +28,14 @@ script:
# check that the generated source-distribution can be built & installed
- export SRC_TGZ=$(cabal-1.20 info . | awk '{print $2 ".tar.gz";exit}') ;
cd dist/;
+ cabal-1.20 sandbox init;
if [ -f "$SRC_TGZ" ]; then
cabal-1.20 install "$SRC_TGZ";
else
echo "expected '$SRC_TGZ' not found";
exit 1;
fi
+
+notifications:
+ email:
+ - kolmodin at gmail.com
More information about the ghc-commits
mailing list