travis: Build documentation

This commit is contained in:
patrick96 2019-04-30 21:54:01 +02:00 committed by Patrick Ziegler
parent 4c0117528e
commit 65e72fd71e
1 changed files with 14 additions and 0 deletions

View File

@ -39,6 +39,20 @@ script: source ${TRAVIS_BUILD_DIR}/common/travis/build.sh
matrix:
include:
# Only builds the documentation
- language: generic
# Doesn't actually do anything, just used for the indicator on travis
compiler: Sphinx
addons: {apt: {packages: [python3-sphinx]}}
before_script:
- mkdir -p doc/build
- cd doc/build
- cmake ..
script: make doc
# Disable unnecessary commands
install:
cache:
- compiler: clang
env: BUILD_TYPE=Release
addons: {apt: {packages: [*base_deps, *optional_deps]}}