parent
c84cd03f49
commit
57f96f1b21
21
.travis.yml
21
.travis.yml
|
@ -41,12 +41,28 @@ addons:
|
||||||
branch_pattern: coverity_scan
|
branch_pattern: coverity_scan
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- mkdir build
|
- mkdir debug
|
||||||
- cd build
|
- cd debug
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cmake ..
|
- cmake ..
|
||||||
- cmake --build .
|
- cmake --build .
|
||||||
|
- |-
|
||||||
|
case $TRAVIS_OS_NAME in
|
||||||
|
linux)
|
||||||
|
cd ../tests/script
|
||||||
|
sudo ./test.sh >& out.txt
|
||||||
|
sync
|
||||||
|
sleep 2
|
||||||
|
cat out.txt
|
||||||
|
grep success out.txt
|
||||||
|
total_success=`grep success out.txt | wc -l`
|
||||||
|
echo "Total $total_success success"
|
||||||
|
grep failed out.txt
|
||||||
|
total_failed=`grep failed out.txt | wc -l`
|
||||||
|
echo "Total $total_failed failed"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build Matrix
|
# Build Matrix
|
||||||
|
@ -58,6 +74,7 @@ matrix:
|
||||||
packages:
|
packages:
|
||||||
- build-essential
|
- build-essential
|
||||||
- cmake
|
- cmake
|
||||||
|
- net-tools
|
||||||
|
|
||||||
# - os: osx
|
# - os: osx
|
||||||
# addons:
|
# addons:
|
||||||
|
|
Loading…
Reference in New Issue