[commit: packages/bytestring] master: travis: Fix for newer GHC/Cabal (ed766dd)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:31:13 UTC 2017


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

On branch  : master
Link       : http://git.haskell.org/packages/bytestring.git/commitdiff/ed766dd060d00a6c13c4ef760b5572e6dc80a24b

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

commit ed766dd060d00a6c13c4ef760b5572e6dc80a24b
Author: Sean Leather <sean.leather at gmail.com>
Date:   Mon Jul 18 09:34:10 2016 +0200

    travis: Fix for newer GHC/Cabal


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

ed766dd060d00a6c13c4ef760b5572e6dc80a24b
 .travis.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 6d47092..2c1c793 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,7 +23,7 @@ before_install:
 install:
  - travis_retry cabal update
  # can't use "cabal install --only-dependencies --enable-tests" due to dep-cycle
- - cabal install "QuickCheck >=2.4" "byteorder ==1.0.*" "dlist ==0.5.*" "mtl >=2.0 && <2.2" deepseq test-framework-hunit test-framework-quickcheck2
+ - cabal install "QuickCheck >=2.4" "byteorder ==1.0.*" "dlist >=0.5 && <0.8" "mtl >=2.0 && <2.3" deepseq test-framework-hunit test-framework-quickcheck2
 
 script:
  - cabal configure --enable-tests -v2
@@ -39,7 +39,7 @@ script:
  - export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}') ;
    cd dist/;
    if [ -f "$SRC_TGZ" ]; then
-      cabal install "$SRC_TGZ";
+      cabal install --force-reinstalls "$SRC_TGZ";
    else
       echo "expected '$SRC_TGZ' not found";
       exit 1;



More information about the ghc-commits mailing list