diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2015-07-28 23:01:48 +0200 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2015-07-28 23:28:41 +0200 |
commit | c4db52614e75e1c564ab4591e1dc5240d33a2293 (patch) | |
tree | 32304596923bb29d481a33bdb6383d31fcef1492 | |
parent | 69fa2fc671e7a02d416270d1d68df71a0f096714 (diff) | |
download | fork-ledger-c4db52614e75e1c564ab4591e1dc5240d33a2293.tar.gz fork-ledger-c4db52614e75e1c564ab4591e1dc5240d33a2293.tar.bz2 fork-ledger-c4db52614e75e1c564ab4591e1dc5240d33a2293.zip |
[travis] Run documentation checks as reports
which are allowed to fail instead of strict tests.
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | 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 |