Skip to content

Commit

Permalink
Travis check errors (moveit#28)
Browse files Browse the repository at this point in the history
* Fix errors and warnings

* Have travis test for sphinx problems
  • Loading branch information
davetcoleman authored and v4hn committed Oct 18, 2016
1 parent bc2d947 commit a0f75a9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ install:
- sudo apt-get -qq install ros-indigo-rosdoc-lite
- source /opt/ros/indigo/setup.bash

script: # run tests
script:
# Test build with non-ROS wrapped Sphinx command to allow warnings and errors to be caught
- sphinx-build -W -b html . native_build
# Test build with ROS-version of Sphinx command so that it is generated same as ros.org
- rosdoc_lite -o build .
- ls -la
# Run HTML tests on generated build output to check for 404 errors, etc
- htmlproofer ./build --only-4xx --check-html --file-ignore ./build/html/genindex.html,./build/html/search.html,./build/html/index-msg.html --alt-ignore '/.*/' --url-ignore '#'

0 comments on commit a0f75a9

Please sign in to comment.