Skip to content

Commit

Permalink
Add Travis CI job to build the documentation
Browse files Browse the repository at this point in the history
The job will fail if there are any warnings, therefore keeping us
informed if the actual online version of the documentation would be
affected by any changes.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
  • Loading branch information
rtobar committed Jun 30, 2021
1 parent 3f41b9e commit 089d37e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@ matrix:
- git diff-index --quiet HEAD || git commit -m 'doxygen commit'
- git push

# Build documentation similarly to how RTD does
- name: documentation
python: "3.8"
before_install:
install:
- pip install sphinx sphinx-rtd-theme
script:
- make -C docs html SPHINXOPTS="-W --keep-going"


# We want to use docker during the tests
services:
- docker
Expand Down

0 comments on commit 089d37e

Please sign in to comment.