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

git at git.haskell.org git at git.haskell.org
Sat Jul 12 11:12:34 UTC 2014


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

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

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

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

    Skip building haddock and docs


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

96fed81009332c9a4969b30b51eca94150b18a5d
 .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