[commit: ghc] wip/travis: Skip building haddock and docs (d350c9a)

git at git.haskell.org git at git.haskell.org
Fri Jul 11 22:40:53 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/travis
Link       : http://ghc.haskell.org/trac/ghc/changeset/d350c9a3b178d8e0dc1ca688827219d70c1be9a6/ghc

>---------------------------------------------------------------

commit d350c9a3b178d8e0dc1ca688827219d70c1be9a6
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Sat Jul 12 00:40:37 2014 +0200

    Skip building haddock and docs


>---------------------------------------------------------------

d350c9a3b178d8e0dc1ca688827219d70c1be9a6
 .travis.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index e3d5f9a..f9f7218 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,8 +24,13 @@ install:
  - cabal install happy alex
 script:
  - echo 'V = 0' >> mk/validate.mk # otherwise we hit log file limits on travis.
+ # do  not build docs
+ - echo 'HADDOCK_DOCS       = NO' >> mk/build.mk
+ - echo 'BUILD_DOCBOOK_HTML = NO' >> mk/build.mk
+ - echo 'BUILD_DOCBOOK_PS   = NO' >> mk/build.mk
+ - echo 'BUILD_DOCBOOK_PDF  = NO' >> mk/build.mk
  # do not build dynamic libraries
  - echo 'DYNAMIC_GHC_PROGRAMS = NO' >> mk/validate.mk
  - echo 'GhcLibWays = v' >> mk/validate.mk
  - if [ "$DEBUG_STAGE" = "YES"]; then echo 'GhcStage2HcOpts += -DDEBUG' >> mk/validate.mk; fi
- - PATH=~/.cabal/bin:$PATH ./validate --fast --no-dph
+ - PATH=~/.cabal/bin:$PATH ./validate --fast --no-dph --no-clean



More information about the ghc-commits mailing list