Skip to content

Commit

Permalink
Disable Haddock for GHC >= 8.4.1, it uses far too much memory.
Browse files Browse the repository at this point in the history
* GHC 8.2.2/Haddock 2.18.1: Haddock uses 3.1GB maximum RSS
* GHC 8.4.1/Haddock 2.19.0: Haddock uses 4.4GB maximum RSS

The latter is too much for Travis-CI.

Fun fact: Given enough RAM, the actual use/syste/wall clock time remains
basically constant across the versions.
  • Loading branch information
svenpanne committed Mar 22, 2018
1 parent 34d21cb commit fda9e43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ matrix:
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.2.2], sources: [hvr-ghc]}}
- compiler: "ghc-8.4.1"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
env: HADDOCK=false
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.4.1], sources: [hvr-ghc]}}
- compiler: "ghc-head"
env: GHCHEAD=true
env: GHCHEAD=true HADDOCK=false
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-head], sources: [hvr-ghc]}}

allow_failures:
Expand Down

0 comments on commit fda9e43

Please sign in to comment.