[commit: packages/binary] master: Attempt to reduce compile time on Travis CI. (0b7abd9)

git at git.haskell.org git at git.haskell.org
Wed Dec 16 09:43:23 UTC 2015


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

On branch  : master
Link       : http://git.haskell.org/packages/binary.git/commitdiff/0b7abd9f8e168382babc43e57621ea25daaa8c4e

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

commit 0b7abd9f8e168382babc43e57621ea25daaa8c4e
Author: Lennart Kolmodin <kolmodin at google.com>
Date:   Thu Oct 29 18:14:00 2015 +0100

    Attempt to reduce compile time on Travis CI.
    
    As suggested at https://github.com/hvr/multi-ghc-travis, reduce the
    effect of bug https://ghc.haskell.org/trac/ghc/ticket/9221.


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

0b7abd9f8e168382babc43e57621ea25daaa8c4e
 .travis.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 56097f2..cf16df1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,6 +26,8 @@ before_install:
 install:
  - cabal --version
  - travis_retry cabal update
+# workaround for https://ghc.haskell.org/trac/ghc/ticket/9221
+ - sed -i 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config
  - cabal sandbox init
 # can't use "cabal install --only-dependencies --enable-tests --enable-benchmarks" due to dep-cycle
  - cabal install criterion deepseq mtl "QuickCheck >= 2.8" HUnit "test-framework-quickcheck2 >= 0.3" "random >= 1.0.1.0" attoparsec cereal 'Cabal == 1.22.*' tar zlib -j



More information about the ghc-commits mailing list