[commit: packages/binary] master: [travis] Require "bytestring >= 0.10.2" for older GHCs (0b3a7ba)

git at git.haskell.org git at git.haskell.org
Sun Feb 26 20:35:28 UTC 2017


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

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

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

commit 0b3a7ba6df0ceabfb224dd1621fda02a155fc8dc
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date:   Wed Sep 21 15:59:16 2016 +0200

    [travis] Require "bytestring >= 0.10.2" for older GHCs


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

0b3a7ba6df0ceabfb224dd1621fda02a155fc8dc
 .travis.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 5dc64cc..6f17cda 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,9 +6,9 @@ sudo: false
 
 matrix:
   include:
-    - env: CABALVER=1.18 GHCVER=7.4.2
+    - env: CABALVER=1.18 GHCVER=7.4.2 INSTALL_EXTRA="bytestring >= 0.10.2"
       addons: {apt: {packages: [cabal-install-1.18,ghc-7.4.2], sources: [hvr-ghc]}}
-    - env: CABALVER=1.18 GHCVER=7.6.3
+    - env: CABALVER=1.18 GHCVER=7.6.3 INSTALL_EXTRA="bytestring >= 0.10.2"
       addons: {apt: {packages: [cabal-install-1.18,ghc-7.6.3], sources: [hvr-ghc]}}
     - env: CABALVER=1.18 GHCVER=7.8.4
       addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
@@ -32,7 +32,7 @@ install:
  - 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.24.*' tar zlib -j
+ - cabal install "${INSTALL_EXTRA}" criterion deepseq mtl "QuickCheck >= 2.8" HUnit "test-framework-quickcheck2 >= 0.3" "random >= 1.0.1.0" attoparsec cereal 'Cabal == 1.24.*' tar zlib -j
 
 script:
  - cabal configure --enable-tests --enable-benchmarks -v2 --ghc-options=-fno-spec-constr



More information about the ghc-commits mailing list