Skip to content

Commit

Permalink
Travis: Verify documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhill committed Sep 4, 2019
1 parent 58c4b9b commit 577e919
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,17 @@ matrix:
compiler: clang
before_script:
- ./configure --install-deps --disable-lz4-ext --prefix="$PWD/dest" --enable-static
- name: "Linux GCC: +integration-tests +copyright-check"
- name: "Linux GCC: +integration-tests +copyright-check +doc-check"
os: linux
dist: xenial
compiler: gcc
env: NO_ARTIFACTS=y RUN_INTEGRATION_TESTS=y COPYRIGHT_CHECK=y
env: NO_ARTIFACTS=y RUN_INTEGRATION_TESTS=y COPYRIGHT_CHECK=y DOC_CHECK=y
before_script:
- wget -O rapidjson-dev.deb https://launchpad.net/ubuntu/+archive/primary/+files/rapidjson-dev_1.1.0+dfsg2-3_all.deb
- sudo dpkg -i rapidjson-dev.deb
- sudo pip install -r tests/requirements.txt
- sudo apt update
- sudo apt install -y doxygen graphviz
- ./configure --install-deps --disable-lz4-ext --prefix="$PWD/dest"

install:
Expand All @@ -53,6 +55,7 @@ script:
- if [[ -z $NO_ARTIFACTS ]]; then (cd dest && tar cvzf ../artifacts/librdkafka-${CC}.tar.gz .) ; fi
- for distro in $ADDITIONAL_BUILDS ; do packaging/tools/distro-build.sh $distro || exit 1 ; done
- if [[ $COPYRIGHT_CHECK == y ]]; then make copyright-check ; fi
- if [[ $DOC_CHECK == y ]]; then make docs ; fi
- if [[ $RUN_INTEGRATION_TESTS == y ]]; then (cd tests && ./interactive_broker_version.py -c "make quick" 2.2.0) ; fi

deploy:
Expand Down
3 changes: 3 additions & 0 deletions Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,9 @@ QUIET = YES

WARNINGS = YES

# Treat all warnings as errors.
WARN_AS_ERROR = YES

# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate
# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
# will automatically be disabled.
Expand Down

0 comments on commit 577e919

Please sign in to comment.