diff --git a/.travis.yml b/.travis.yml index f33ebda0..ba40d52a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -73,11 +73,6 @@ matrix: - pip install --user cpp-coveralls script: - ./build.sh coverage - - make V=1 -j10 - - echo input | examples/string-operations - - examples/termcap - - cd test - - make check-TESTS after_success: - coveralls --gcov-options '\-lp' -e debian -e doc -e icon -e logo -e m4 -e scripts diff --git a/build.sh b/build.sh index 8a7c2fab..d6b26b66 100755 --- a/build.sh +++ b/build.sh @@ -116,7 +116,10 @@ else exit 1 fi -if [ "$1" = "--unit-test" ] || [ "unit-test" ] +if [ "$1" = "--unit-test" ] \ +|| [ "$1" == "unit-test" ] \ +|| [ "$1" == "--coverage" ] \ +|| [ "$1" == "coverage" ] then cd src/test && make check-TESTS fi