Skip to content

Commit cde63b7

Browse files
richsalzmspncp
authored andcommitted
Extend Travis build time-out
- Add travis_wait to the build command - And travis_retry to some apt-get commands. - Use `make _tests` instead of `make test` Reviewed-by: Richard Levitte <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Matthias St. Pierre <[email protected]> (Merged from openssl#11319)
1 parent 244bc29 commit cde63b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ git:
1111

1212
before_install:
1313
- if [ -n "$COVERALLS" ]; then
14-
pip install --user cpp-coveralls;
14+
travis_retry pip install --user cpp-coveralls;
1515
fi;
1616
- if expr "$CONFIG_OPTS" ":" ".*enable-external-tests" > /dev/null; then
17-
git submodule update --init --recursive;
17+
travis_retry git submodule update --init --recursive;
1818
fi;
1919
- eval "${MATRIX_EVAL}"
2020

@@ -246,7 +246,7 @@ script:
246246
if [ -e krb5/src ]; then
247247
sudo apt-get -yq install bison dejagnu gettext keyutils ldap-utils libldap2-dev libkeyutils-dev python-cjson python-paste python-pyrad slapd tcl-dev tcsh;
248248
fi;
249-
if ! HARNESS_VERBOSE_FAILURE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner make test; then
249+
if ! HARNESS_VERBOSE_FAILURE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner travis_wait 60 make _tests; then
250250
echo -e '\052\052 FAILED -- MAKE TEST';
251251
travis_terminate 1;
252252
fi;

0 commit comments

Comments
 (0)