Skip to content

Commit

Permalink
ci: Disable Haddock on Docgent and Haskell-backend branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
jashank committed Feb 28, 2020
1 parent 1059b65 commit 4e99f57
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,16 @@ before_install:
[ -z ${WITH_BUILTIN_ARRAYS} ] ||
STACK_FLAGS="${STACK_FLAGS} --flag cogent:builtin-arrays"
# Pandoc causes Haddock to choke; so, with Docgent enabled, no fish.
# Pandoc causes Stack to choke; so, with Docgent enabled, no fish.
# - <https://github.com/commercialhaskell/stack/issues/3989>
# - <https://github.com/commercialhaskell/stack/issues/4428>
#
# `haskell-src-exts' causes Haddock to choke (by segfaulting?!)
# - <https://travis-ci.org/NICTA/cogent/jobs/656011492>
- >-
[ -z ${WITH_DOCGENT} ] &&
STACK_FLAGS="${STACK_FLAGS} --haddock --haddock-deps"
[ -z ${WITH_DOCGENT} ] || [ -z ${WITH_HASKELL_BACKEND} ] &&
STACK_FLAGS="${STACK_FLAGS} --haddock --haddock-deps";
true
- >-
export STACK_FLAGS;
Expand Down

0 comments on commit 4e99f57

Please sign in to comment.