Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-04-30 05:31:58 +0400
committermattab <matthieu.aubry@gmail.com>2014-04-30 05:31:58 +0400
commit0891ed77d2378cd859610ec4dfdecba1c52535e3 (patch)
tree03a324438c7adcf8103edd91f692b107db3a44df /tests/angularjs
parent7dbe126952fe78de5d71743bf6033450f2009d34 (diff)
Prevent some random build failures when connectivity fails, by calling travis_retry which retries up to 3 times
https://travis-ci.org/piwik/piwik/jobs/23570274 https://travis-ci.org/piwik/piwik/jobs/23912462 http://blog.travis-ci.com/2013-05-20-network-timeouts-build-retries/
Diffstat (limited to 'tests/angularjs')
-rwxr-xr-xtests/angularjs/scripts/install-ubuntu.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/angularjs/scripts/install-ubuntu.sh b/tests/angularjs/scripts/install-ubuntu.sh
index f26d7f4301..b16894061a 100755
--- a/tests/angularjs/scripts/install-ubuntu.sh
+++ b/tests/angularjs/scripts/install-ubuntu.sh
@@ -1,10 +1,10 @@
DIR=`dirname $0`
cd $DIR
-sudo apt-get -qq install python-software-properties
-sudo apt-add-repository -y ppa:chris-lea/node.js > /dev/null
-sudo apt-get -qq update
-sudo apt-get -qq install nodejs
-sudo apt-get -qq install npm
+travis_retry sudo apt-get -qq install python-software-properties
+travis_retry sudo apt-add-repository -y ppa:chris-lea/node.js > /dev/null
+travis_retry sudo apt-get -qq update
+travis_retry sudo apt-get -qq install nodejs
+travis_retry sudo apt-get -qq install npm
cd ..
sudo npm config set loglevel error
sudo npm install . \ No newline at end of file