Skip to content

Commit

Permalink
Extend Travis build time-out
Browse files Browse the repository at this point in the history
- 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 <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from #11319)
  • Loading branch information
richsalz authored and mspncp committed Mar 17, 2020
1 parent 244bc29 commit cde63b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -11,10 +11,10 @@ git:

before_install:
- if [ -n "$COVERALLS" ]; then
pip install --user cpp-coveralls;
travis_retry pip install --user cpp-coveralls;
fi;
- if expr "$CONFIG_OPTS" ":" ".*enable-external-tests" > /dev/null; then
git submodule update --init --recursive;
travis_retry git submodule update --init --recursive;
fi;
- eval "${MATRIX_EVAL}"

Expand Down Expand Up @@ -246,7 +246,7 @@ script:
if [ -e krb5/src ]; then
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;
fi;
if ! HARNESS_VERBOSE_FAILURE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner make test; then
if ! HARNESS_VERBOSE_FAILURE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner travis_wait 60 make _tests; then
echo -e '\052\052 FAILED -- MAKE TEST';
travis_terminate 1;
fi;
Expand Down

0 comments on commit cde63b7

Please sign in to comment.