From c4db52614e75e1c564ab4591e1dc5240d33a2293 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Tue, 28 Jul 2015 23:01:48 +0200 Subject: [travis] Run documentation checks as reports which are allowed to fail instead of strict tests. --- .travis.yml | 6 +++++- test/CMakeLists.txt | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fee32bef..c573057d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 6eb9f956..0e7d5f2c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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 -- cgit v1.2.3