Skip to content

Commit

Permalink
ci: Better behaviour of Haddock on CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jashank committed Mar 5, 2020
1 parent 4e99f57 commit 9ee1060
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@ before_install:
# `haskell-src-exts' causes Haddock to choke (by segfaulting?!)
# - <https://travis-ci.org/NICTA/cogent/jobs/656011492>
- >-
[ -z ${WITH_DOCGENT} ] || [ -z ${WITH_HASKELL_BACKEND} ] &&
STACK_FLAGS="${STACK_FLAGS} --haddock --haddock-deps";
true
if [ -z ${WITH_DOCGENT} ] && [ -z ${WITH_HASKELL_BACKEND} ];
then
STACK_FLAGS="${STACK_FLAGS} --haddock --haddock-deps";
fi
- >-
export STACK_FLAGS;
Expand Down

0 comments on commit 9ee1060

Please sign in to comment.