Stupid fucking istanbul, now it's deprecated and renamed to nyc and
there's some magic that puts istanbul into PATH but only in the root
directory and I hate that.
[run]
omit =
- */test/*
+ */test_*/*
*/latex2svg.py
--- /dev/null
+instrumentation:
+ root: .
+ extensions:
+ - .js
+ default-excludes: true
+ excludes: ['test_*/**']
- if [ "$WITH_DOXYGEN" == "ON" ]; then cd $TRAVIS_BUILD_DIR/documentation && coverage run -m unittest && cp .coverage ../.coverage.doxygen; fi
# Test client doxygen JS
- - if [ "$WITH_NODE" == "ON" ]; then cd $TRAVIS_BUILD_DIR && istanbul cover documentation/test_doxygen/test-search.js; fi
+ - if [ "$WITH_NODE" == "ON" ]; then cd $TRAVIS_BUILD_DIR/documentation && node ../node_modules/istanbul/lib/cli.js cover test_doxygen/test-search.js; fi
# Test that compiled CSS is up-to-date. First display the diff, then check
# with diff-index which should print what's wrong and return with non-zero