[commit: packages/stm] ghc-7.8: Fix-up travis-CI script (8d3cd89)
git at git.haskell.org
git at git.haskell.org
Tue Mar 25 13:13:46 UTC 2014
Repository : ssh://git@git.haskell.org/stm
On branch : ghc-7.8
Link : http://git.haskell.org/packages/stm.git/commitdiff/8d3cd89a338fca607220b507a9a9c52ce1a09596
>---------------------------------------------------------------
commit 8d3cd89a338fca607220b507a9a9c52ce1a09596
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Tue Mar 25 14:13:34 2014 +0100
Fix-up travis-CI script
Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>
>---------------------------------------------------------------
8d3cd89a338fca607220b507a9a9c52ce1a09596
.travis.yml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 4d77888..1ca0118 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,15 +28,13 @@ install:
- cabal-1.18 update
script:
- - cabal-1.18 install random
- cabal-1.18 configure -v2
- cabal-1.18 build
- cabal-1.18 check
- cabal-1.18 sdist
- 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";
+ if [ -f "dist/$SRC_TGZ" ]; then
+ cabal-1.18 install "dist/$SRC_TGZ";
else
echo "expected '$SRC_TGZ' not found";
exit 1;
More information about the ghc-commits
mailing list