This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
build,travis: prevent travis 10m logs timeout
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
lilik-openwrt-22.03
Etienne Champetier
7 years ago
parent
da2cc49d29
commit
a5eb792e1d
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
.travis_do.sh
+ 2
- 0
.travis_do.sh
View File
@ -16,8 +16,10 @@ echo_blue() { printf "\033[1;34m$*\033[m\n"; }
exec_status
(
)
{
PATTERN
=
"
$1
"
shift
while
:
;
do
sleep 590
;
echo
"still running (please don't kill me Travis)"
;
done
&
(
"
$@
"
2>
&
1
)
|
tee logoutput
R
=
${
PIPESTATUS
[0]
}
kill
$!
if
[
$R
-ne
0
]
;
then
echo_red
"
=> '
$*
' failed (return code
$R
)
"
return
1
Write
Preview
Loading…
Cancel
Save