1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-12-09 14:10:19 -05:00

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

View file

@ -39,6 +39,20 @@ script: source ${TRAVIS_BUILD_DIR}/common/travis/build.sh
matrix: matrix:
include: 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 - compiler: clang
env: BUILD_TYPE=Release env: BUILD_TYPE=Release
addons: {apt: {packages: [*base_deps, *optional_deps]}} addons: {apt: {packages: [*base_deps, *optional_deps]}}