parent
c84cd03f49
commit
57f96f1b21
21
.travis.yml
21
.travis.yml
|
@ -41,12 +41,28 @@ addons:
|
|||
branch_pattern: coverity_scan
|
||||
|
||||
before_script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- mkdir debug
|
||||
- cd debug
|
||||
|
||||
script:
|
||||
- cmake ..
|
||||
- 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
|
||||
|
@ -58,6 +74,7 @@ matrix:
|
|||
packages:
|
||||
- build-essential
|
||||
- cmake
|
||||
- net-tools
|
||||
|
||||
# - os: osx
|
||||
# addons:
|
||||
|
|
Loading…
Reference in New Issue