[travis] Run documentation checks as reports

which are allowed to fail instead of strict tests.
This commit is contained in:
Alexis Hildebrandt 2015-07-28 23:01:48 +02:00
parent 69fa2fc671
commit c4db52614e
2 changed files with 8 additions and 2 deletions

View file

@ -36,13 +36,17 @@ addons:
before_script:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- cmake . -DUSE_PYTHON=ON
- cmake . -DUSE_PYTHON=ON -DBUILD_DEBUG=ON
- make
script:
- make test
- PYTHONPATH=. python python/demo.py
after_script:
- python test/CheckTexinfo.py -l ledger -s .
- python test/CheckManpage.py -l ledger -s .
notifications:
email:
on_success: change

View file

@ -47,7 +47,9 @@ if (PYTHONINTERP_FOUND)
set_target_properties(check PROPERTIES DEPENDS ${_class}Test_${TestFile_Name})
endforeach()
list(APPEND CheckOptions CheckManpage CheckTexinfo CheckBaselineTests)
# CheckManpage and CheckTexinfo are disabled, since they do not work
# reliably yet, instead they are being run as a Travis CI report.
list(APPEND CheckOptions CheckBaselineTests) #CheckManpage CheckTexinfo
foreach(_class ${CheckOptions})
add_test(NAME ${_class}
COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/${_class}.py