[commit: packages/pretty] large_docs: fix travis for bug in cabal 1.20 (459bca1)

git at git.haskell.org git at git.haskell.org
Fri Jan 23 22:49:54 UTC 2015


Repository : ssh://git@git.haskell.org/pretty

On branch  : large_docs
Link       : http://git.haskell.org/packages/pretty.git/commitdiff/459bca1c840ed90734aaf3a45c221c9d87f36b38

>---------------------------------------------------------------

commit 459bca1c840ed90734aaf3a45c221c9d87f36b38
Author: David Terei <code at davidterei.com>
Date:   Thu Dec 25 22:55:01 2014 -0800

    fix travis for bug in cabal 1.20


>---------------------------------------------------------------

459bca1c840ed90734aaf3a45c221c9d87f36b38
 .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