Przeglądaj źródła

:octocat: php8 imagick install error workaround

codemasher 5 lat temu
rodzic
commit
2e9c226f66
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      .travis.yml

+ 4 - 1
.travis.yml

@@ -18,8 +18,11 @@ matrix:
 
 before_install:
   - pecl channel-update pecl.php.net
-  - printf "\n" | pecl install imagick
   - pecl install ast
+  - |
+    if [ $TRAVIS_PHP_VERSION != 'nightly' ]; then
+      printf "\n" | pecl install imagick;
+    fi
 
 install:
   - composer install --no-interaction --prefer-source