build.sh + .travis.yml

This commit is contained in:
Markus Gans 2018-02-25 22:04:36 +01:00
parent f89258fa84
commit 571409e346
2 changed files with 4 additions and 6 deletions

View File

@ -73,11 +73,6 @@ matrix:
- pip install --user cpp-coveralls - pip install --user cpp-coveralls
script: script:
- ./build.sh coverage - ./build.sh coverage
- make V=1 -j10
- echo input | examples/string-operations
- examples/termcap
- cd test
- make check-TESTS
after_success: after_success:
- coveralls --gcov-options '\-lp' -e debian -e doc -e icon -e logo -e m4 -e scripts - coveralls --gcov-options '\-lp' -e debian -e doc -e icon -e logo -e m4 -e scripts

View File

@ -116,7 +116,10 @@ else
exit 1 exit 1
fi fi
if [ "$1" = "--unit-test" ] || [ "unit-test" ] if [ "$1" = "--unit-test" ] \
|| [ "$1" == "unit-test" ] \
|| [ "$1" == "--coverage" ] \
|| [ "$1" == "coverage" ]
then then
cd src/test && make check-TESTS cd src/test && make check-TESTS
fi fi