build.sh + .travis.yml
This commit is contained in:
parent
f89258fa84
commit
571409e346
|
@ -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
|
||||||
|
|
||||||
|
|
5
build.sh
5
build.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue