summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml6
-rw-r--r--test/CMakeLists.txt4
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