Unverified Commit e9fb1f56 authored by xoviat's avatar xoviat Committed by GitHub
Browse files

[common] disable keep alive exc. w/ env

parent a76a530b
...@@ -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'))"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment