Fix failing builds on TravisCI

Wrap apt-get update && apt-get install into travis_retry
This commit is contained in:
Jean Traullé 2019-08-30 20:12:06 +02:00
parent 8eae59945d
commit f6861ad4c0
No known key found for this signature in database
GPG Key ID: 5315BC7C950D912A

View File

@ -246,8 +246,8 @@ before_script:
- echo "Setting up Apache + FPM"
- sudo apt-get update
- sudo apt-get install apache2 libapache2-mod-fastcgi
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install apache2 libapache2-mod-fastcgi
# enable php-fpm
- sudo cp ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.conf.default ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.conf
- |