Skip to content

Commit

Permalink
travis: Add another workaround for timeout errors using travis_wait.
Browse files Browse the repository at this point in the history
As recommended in travis-ci/travis-ci#6934
  • Loading branch information
torokati44 committed Apr 9, 2018
1 parent 8e5f9c1 commit dfca903
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ cache:
- $HOME/docker_ccache

# This is not used directly by Travis (the name doesn't matter), we just reuse it in script: nodes.
docker_command: &DOCKER_COMMAND docker run -ti --env TARGET_PLATFORM --env MODE --env TRAVIS_REPO_SLUG
docker_command: &DOCKER_COMMAND travis_wait 30 sleep infinity &
docker run -ti --env TARGET_PLATFORM --env MODE --env TRAVIS_REPO_SLUG
-v /home/travis/build/$TRAVIS_REPO_SLUG:/$TRAVIS_REPO_SLUG
-v $HOME/docker_ccache:/root/.ccache omnetpp/travis-inet:5.3p4-180321
/bin/bash /$TRAVIS_REPO_SLUG/_scripts/travis/travis-stage-$STAGE.sh $INNER_ARGS
Expand Down

0 comments on commit dfca903

Please sign in to comment.