[commit: packages/deepseq] travis-tests: Fix lingering Travis issues, pt. 2 (8d952fb)

git at git.haskell.org git at git.haskell.org
Wed Jul 19 21:59:01 UTC 2017


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

On branch  : travis-tests
Link       : http://git.haskell.org/packages/deepseq.git/commitdiff/8d952fbfb980085a7f06a507f7aa57a87a8548af

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

commit 8d952fbfb980085a7f06a507f7aa57a87a8548af
Author: Ryan Scott <ryan.gl.scott at gmail.com>
Date:   Wed Oct 19 19:50:59 2016 -0400

    Fix lingering Travis issues, pt. 2


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

8d952fbfb980085a7f06a507f7aa57a87a8548af
 .travis.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 2aa11b0..551c359 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -83,6 +83,9 @@ install:
      zcat $HOME/.cabal/packages/hackage.haskell.org/00-index.tar.gz >
           $HOME/.cabal/packages/hackage.haskell.org/00-index.tar;
    fi
+ - if [ "$GHCVER" = "7.2.1" ]; then
+     sudo /opt/ghc/$GHCVER/bin/ghc-pkg trust base # To avoid a SafeHaskell bug on GHC 7.2.1
+   fi
  - travis_retry cabal update -v
  - sed -i 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config
 # can't use "cabal install --only-dependencies --enable-tests" due to dep-cycle



More information about the ghc-commits mailing list