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
e8d14d8c
Unverified
Commit
e8d14d8c
authored
Nov 09, 2017
by
xoviat
Committed by
GitHub
Nov 09, 2017
Browse files
Merge pull request #73 from matthew-brett/keep-alive
Keep alive: disable w/out env
parents
a76a530b
796da9e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
.travis.yml
.travis.yml
+7
-3
common_utils.sh
common_utils.sh
+5
-3
No files found.
.travis.yml
View file @
e8d14d8c
...
...
@@ -11,11 +11,15 @@ cache:
directories
:
-
$HOME/.ccache
env
:
global
:
-
MB_KEEP_ALIVE=1
matrix
:
allow_failures
:
-
osx_image
:
xcode8.3
env
:
-
PYTHON_VERSION=3.5
-
osx_image
:
xcode8.3
env
:
-
PYTHON_VERSION=3.5
include
:
-
os
:
linux
dist
:
precise
...
...
common_utils.sh
View file @
e8d14d8c
...
...
@@ -18,10 +18,12 @@ if [ $(uname) == "Darwin" ]; then IS_OSX=1; fi
# https://github.com/direnv/direnv/issues/210
shell_session_update
()
{
:
;
}
# Start a process that runs as a keep-alive
# to avoid travis quitting if there is no output
if
[
-n
"
$MB_KEEP_ALIVE
"
]
;
then
# 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
{
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