mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
Merge pull request #62 from adamdunkels/fix-travis
Fix false positive travis build problems
This commit is contained in:
commit
b8f79b9da3
@ -25,10 +25,11 @@ script:
|
|||||||
- "make -C regression-tests/??-$BUILD_TYPE RUNALL=true summary"
|
- "make -C regression-tests/??-$BUILD_TYPE RUNALL=true summary"
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
## Print a basic summary in unix style
|
## Print a basic summary
|
||||||
- "echo 'Summary:'; cat regression-tests/??-$BUILD_TYPE/summary"
|
- "echo 'Summary:'; cat regression-tests/??-$BUILD_TYPE/summary"
|
||||||
|
- "FAILS=`grep -c -i 'fail' regression-tests/??-$BUILD_TYPE/summary`"
|
||||||
## This will detect whether the build should pass or fail
|
## This will detect whether the build should pass or fail
|
||||||
- "test `grep -c -i 'fail' regression-tests/??-$BUILD_TYPE/summary` -eq 0"
|
- "test $FAILS -eq 0; exit $?"
|
||||||
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user