Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
e9fb1f56
Unverified
Commit
e9fb1f56
authored
Nov 09, 2017
by
xoviat
Committed by
GitHub
Nov 09, 2017
Browse files
[common] disable keep alive exc. w/ env
parent
a76a530b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
common_utils.sh
common_utils.sh
+5
-3
No files found.
common_utils.sh
View file @
e9fb1f56
...
@@ -18,10 +18,12 @@ if [ $(uname) == "Darwin" ]; then IS_OSX=1; fi
...
@@ -18,10 +18,12 @@ if [ $(uname) == "Darwin" ]; then IS_OSX=1; fi
# https://github.com/direnv/direnv/issues/210
# https://github.com/direnv/direnv/issues/210
shell_session_update
()
{
:
;
}
shell_session_update
()
{
:
;
}
# Start a process that runs as a keep-alive
if
[
-n
"
$MB_KEEP_ALIVE
"
]
;
then
# to avoid travis quitting if there is no output
# Start a process that runs as a keep-alive
# to avoid travis quitting if there is no output
(
while
true
;
do
>
&2
echo
"Travis-CI keep-alive"
;
sleep
480
;
done
)
&
(
while
true
;
do
>
&2
echo
"Travis-CI keep-alive"
;
sleep
480
;
done
)
&
fi
function
abspath
{
function
abspath
{
python
-c
"import os.path; print(os.path.abspath('
$1
'))"
python
-c
"import os.path; print(os.path.abspath('
$1
'))"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment