diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-04-30 05:31:58 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-04-30 05:31:58 +0400 |
commit | 0891ed77d2378cd859610ec4dfdecba1c52535e3 (patch) | |
tree | 03a324438c7adcf8103edd91f692b107db3a44df /tests/angularjs | |
parent | 7dbe126952fe78de5d71743bf6033450f2009d34 (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-x | tests/angularjs/scripts/install-ubuntu.sh | 10 |
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 |