You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by do...@apache.org on 2018/08/17 01:32:41 UTC

predictionio git commit: Adding travis_retry on steps with network timeouts

Repository: predictionio
Updated Branches:
  refs/heads/develop f0903c643 -> 7ad9be474


Adding travis_retry on steps with network timeouts


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/7ad9be47
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/7ad9be47
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/7ad9be47

Branch: refs/heads/develop
Commit: 7ad9be47484475b95e10b8e08c9b46f1dc84b949
Parents: f0903c6
Author: Donald Szeto <do...@apache.org>
Authored: Thu Aug 16 18:32:00 2018 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Thu Aug 16 18:32:00 2018 -0700

----------------------------------------------------------------------
 .travis.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/7ad9be47/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 65f4166..d2a8d2f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -137,17 +137,17 @@ env:
 before_install:
   - unset SBT_OPTS JVM_OPTS
   - sudo rm /usr/local/bin/docker-compose
-  - curl -L https://github.com/docker/compose/releases/download/1.11.1/docker-compose-`uname -s`-`uname -m` > docker-compose
+  - travis_retry curl -L https://github.com/docker/compose/releases/download/1.11.1/docker-compose-`uname -s`-`uname -m` > docker-compose
   - chmod +x docker-compose
   - sudo mv docker-compose /usr/local/bin
 
 before_script:
   - sudo sysctl -w vm.max_map_count=262144
   - docker-compose -v
-  - ./tests/before_script.travis.sh
+  - travis_retry ./tests/before_script.travis.sh
 
 script:
-  - ./tests/script.travis.sh
+  - travis_retry ./tests/script.travis.sh
 
 after_script:
   - ./tests/after_script.travis.sh