on master help sign in
Disable benchmarks for GHC 7.6.3
commit71270926ce9320ed0c151e3909ab0eb8b3da125a authorMichael Snoyman <michael@snoyman.com> dateMon 23 May 2016, 10:36 (10 years ago) parent8239844
1 file changed+4−3
.travis.yml+4−3
.travis.yml+4−3
@@ -89,7 +89,6 @@ matrix:
8989 os: osx
9090
9191 allow_failures:
92− - env: BUILD=cabal GHCVER=7.6.3 CABALVER=1.22 HAPPYVER=1.19.5 ALEXVER=3.1.7
9392 - env: BUILD=cabal GHCVER=head CABALVER=head HAPPYVER=1.19.5 ALEXVER=3.1.7
9493 - env: BUILD=stack ARGS="--resolver nightly"
9594
@@ -100,6 +99,8 @@ before_install:
10099# We want to always allow newer versions of packages when building on GHC HEAD
101100- CABALARGS=""
102101- if [ "x$GHCVER" = "xhead" ]; then CABALARGS=--allow-newer; fi
102+# Due to https://github.com/haskell/cabal/issues/3453, we don't build benchmarks on GHC 7.6.3
103+- if [ "x$GHCVER" != "x7.6.3" ]; then CABALARGS="$CABALARGS --enable-benchmarks"; fi
103104
104105# Download and unpack the stack executable
105106- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.local/bin:/opt/alex/$ALEXVER/bin:/opt/happy/$HAPPYVER/bin:$HOME/.cabal/bin:$PATH
@@ -146,7 +147,7 @@ install:
146147 # Due to dependency on wai-logger (which depends on some packages here),
147148 # we can't build just dependencies
148149 #
149− # cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls --ghc-options=-O0 --reorder-goals --max-backjumps=-1 $CABALARGS $PACKAGES
150+ # cabal install --only-dependencies --enable-tests --force-reinstalls --ghc-options=-O0 --reorder-goals --max-backjumps=-1 $CABALARGS $PACKAGES
150151 cabal install hspec-discover
151152 ;;
152153 esac
@@ -160,7 +161,7 @@ script:
160161 stack --no-terminal $ARGS test --haddock --no-haddock-deps
161162 ;;
162163 cabal)
163− cabal install --enable-tests --enable-benchmarks --force-reinstalls --ghc-options=-O0 --reorder-goals --max-backjumps=-1 $CABALARGS $PACKAGES
164+ cabal install --enable-tests --force-reinstalls --ghc-options=-O0 --reorder-goals --max-backjumps=-1 $CABALARGS $PACKAGES
164165
165166 ORIGDIR=$(pwd)
166167 for dir in $PACKAGES