diff --git a/.travis.yml b/.travis.yml index 2fc34a29..e8fe1ce1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,10 @@ matrix: language: generic addons: { apt: { packages: [ libgmp-dev ] } } compiler: ghc-7.10 + - env: BUILD=stack RESOLVER=ghc-7.8 + language: generic + addons: { apt: { packages: [ libgmp-dev ] } } + compiler: ghc-7.8 - env: BUILD=stack RESOLVER=ghc-8.0 os: osx language: generic @@ -70,6 +74,7 @@ script: - | set -ex if [ "x${RUNTEST}" = "xfalse" ]; then exit 0; fi + if [ ! "x${RESOLVER}" = "ghc-7.8" ]; then HADDOCK_OPTS="--haddock --no-haddock-deps"; fi case "$BUILD" in stack) rm stack.yaml && ln -sv .travis/stack-${RESOLVER}.yaml stack.yaml @@ -77,7 +82,7 @@ script: --flag foundation:bounds-check ${EXPERIMENTAL} \ --install-ghc \ --coverage --bench --no-run-benchmarks \ - --haddock --no-haddock-deps + $HADDOCK_OPTS ;; cabal) cabal install --only-dependencies --enable-tests