[commit: packages/pretty] moretests: fix travis for bug in cabal 1.20 (0e993b2)
git at git.haskell.org
git at git.haskell.org
Fri Jan 23 22:49:50 UTC 2015
Repository : ssh://git@git.haskell.org/pretty
On branch : moretests
Link : http://git.haskell.org/packages/pretty.git/commitdiff/0e993b2479f05c451c034b586fd001dd69b82194
>---------------------------------------------------------------
commit 0e993b2479f05c451c034b586fd001dd69b82194
Author: David Terei <code at davidterei.com>
Date: Thu Dec 25 22:55:01 2014 -0800
fix travis for bug in cabal 1.20
>---------------------------------------------------------------
0e993b2479f05c451c034b586fd001dd69b82194
.travis.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 2db9d94..de5fe5b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,8 +31,8 @@ script:
- cabal install "QuickCheck >= 2.5 && < 3"
- cabal configure -v2 --enable-tests
- cabal build
- - cabal check || [ "$CABALVER" == "1.16" ]
- - cabal test --show-details=streaming
+ - cabal check
+ - ([ "$CABALVER" == "1.20" ] && cabal test --show-details=streaming) || ([ "$CABALVER" != "1.20" ] && cabal test)
- cabal sdist
- export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}') ;
cd dist/;
More information about the ghc-commits
mailing list