Skip to content

Update for QuickCheck >= 2.10 #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ env:
- GHCVER=7.10.3 CABALVER=1.22
- GHCVER=8.0.2 CABALVER=1.24
- GHCVER=8.2.2 CABALVER=2.0
- GHCVER=head CABALVER=2.0
- GHCVER=8.4.4 CABALVER=2.2
- GHCVER=8.6.3 CABALVER=2.4
- GHCVER=8.8.1 CABALVER=2.4
- GHCVER=head CABALVER=2.4

matrix:
allow_failures:
- env: GHCVER=head CABALVER=2.0
- env: GHCVER=head CABALVER=2.4

before_install:
- travis_retry sudo add-apt-repository -y ppa:hvr/ghc
Expand All @@ -25,7 +28,12 @@ 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 && <2.10" "byteorder ==1.0.*" "dlist >=0.5 && <0.8" "mtl >=2.0 && <2.3" deepseq test-framework-hunit test-framework-quickcheck2
- cabal install
"QuickCheck >=2.10 && <2.14"
"byteorder ==1.0.*"
"dlist >=0.5 && <0.9"
"mtl >=2.0 && <2.3"
deepseq test-framework-hunit test-framework-quickcheck2

script:
- cabal configure --enable-tests -v2
Expand Down
3 changes: 3 additions & 0 deletions bench/bench-bytestring.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ executable bench-bytestring-builder
, deepseq >= 1.2
, criterion >= 0.5
, blaze-textual == 0.2.*
-- There is no point using blaze-builder-0.4+ as that
-- version is just a wrapper around bytestring itself,
-- abd so a comparison benchmark would have no purpose.
, blaze-builder == 0.3.*
-- we require bytestring due to benchmarking against
-- blaze-textual, which uses blaze-builder
Expand Down
4 changes: 2 additions & 2 deletions bytestring.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ test-suite prop-compiled
hs-source-dirs: . tests
build-depends: base, ghc-prim, deepseq, random, directory,
test-framework, test-framework-quickcheck2,
QuickCheck >= 2.3 && < 2.10
QuickCheck >= 2.10 && < 2.14
c-sources: cbits/fpstring.c
include-dirs: include
ghc-options: -fwarn-unused-binds
Expand Down Expand Up @@ -198,7 +198,7 @@ test-suite test-builder

build-depends: base, ghc-prim,
deepseq,
QuickCheck >= 2.4 && < 2.10,
QuickCheck >= 2.10 && < 2.14,
byteorder == 1.0.*,
dlist >= 0.5 && < 0.9,
directory,
Expand Down
Loading