Fail build on documentation error

-qW is 'run silently, warnings as errors'.

I think this is appropriate to catch eg broken internal links, since we
also fail builds for missing script docs.
Shame it only runs to first warning in this mode; so run again emitting
all errors.
develop
PeridexisErrant 2016-03-16 21:56:56 +11:00
parent 2399539990
commit eaa08fd2a5
1 changed files with 1 additions and 0 deletions

@ -30,6 +30,7 @@ before_install:
script: script:
- git tag tmp-travis-build - git tag tmp-travis-build
- sh travis/git-info.sh - sh travis/git-info.sh
- sphinx-build -qW . docs/html || sphinx-build -q . docs/html
- python travis/pr-check-base.py - python travis/pr-check-base.py
- python travis/lint.py - python travis/lint.py
- python travis/authors-rst.py - python travis/authors-rst.py