From 5f280ec94f27ca75aed1dbca4c19fd35b24d337b Mon Sep 17 00:00:00 2001 From: Victor Denisov Date: Sun, 11 Feb 2018 16:12:08 -0800 Subject: [PATCH] Fix benchmarks --- .travis.yml | 4 ++-- mongoDB.cabal | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7bac7c4..5b3015a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,10 +56,10 @@ install: # Install the combined dependencies for this package and all other packages # needed to reduce conflicts. - cabal sandbox init - - cabal install --only-dependencies --enable-tests + - cabal install --only-dependencies --enable-tests --enable-benchmarks script: - - cabal configure --enable-tests -v2 + - cabal configure --enable-tests -v2 --enable-benchmarks - cabal build # cabal test fails due a to hpc error. Using run-cabal-test instead. # - cabal test --show-details=always diff --git a/mongoDB.cabal b/mongoDB.cabal index d5d0d88..89c2438 100644 --- a/mongoDB.cabal +++ b/mongoDB.cabal @@ -98,6 +98,7 @@ Benchmark bench , base16-bytestring , binary -any , bson >= 0.3 && < 0.4 + , data-default-class -any , text , bytestring -any , containers -any