Travis retry on imagick install

This commit is contained in:
Daniel Hensby 2017-11-22 13:18:57 +00:00
parent 2e76936878
commit a63bb12d92
No known key found for this signature in database
GPG Key ID: 5DE415D786BBB2FD

View File

@ -28,8 +28,8 @@ matrix:
before_script:
- export CORE_RELEASE=$TRAVIS_BRANCH
- if ! [ $(phpenv version-name) = "5.3" ]; then printf "\n" | pecl install imagick; fi
- if [ $(phpenv version-name) = "5.3" ]; then printf "\n" | pecl install imagick-3.3.0; fi
- if ! [ $(phpenv version-name) = "5.3" ]; then printf "\n" | travis_retry pecl install imagick; fi
- if [ $(phpenv version-name) = "5.3" ]; then printf "\n" | travis_retry pecl install imagick-3.3.0; fi
- composer self-update || true
- phpenv rehash
- phpenv config-rm xdebug.ini