aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-10-27 10:05:04 -0700
committerGitHub <noreply@github.com>2018-10-27 10:05:04 -0700
commit0d9a81e20238a6b72f9f5c005f1f7e9cf05f6fb9 (patch)
treeeb8e6405cb29fa10ffc417e32bf35c45d5e8c357 /.travis.yml
parent2b94a90a23f03a749e3703af330d9585a5de0bae (diff)
Fix documentation in `haddock-api` (#957)
* Fix misplaced Haddocks in Haddock itself Haddock should be able to generate documentation for 'haddock-api' again. * Make CI check that documentation can be built. * Add back a doc that is OK
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 681399b9..35ee528d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -83,6 +83,9 @@ script:
# cabal check
- cabal check
+ # Build documentation
+ - cabal new-haddock -w ${HC} all
+
# Build without installed constraints for packages in global-db
- if $UNCONSTRAINED; then rm -f cabal.project.local; echo cabal new-build -w ${HC} --disable-tests --disable-benchmarks all; else echo "Not building without installed constraints"; fi