浏览代码

DevKit updates (#3861)

Sonata CI 9 年之前
父节点
当前提交
488f1438d1
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      .travis/install_test.sh

+ 4 - 0
.travis/install_test.sh

@@ -12,4 +12,8 @@ fi
 wget "https://phar.phpunit.de/${PHPUNIT_PHAR}" --output-document="${HOME}/bin/phpunit"
 chmod u+x "${HOME}/bin/phpunit"
 
+# To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355
+if [ ${COMPOSER_FLAGS} = '--prefer-lowest' ]; then
+    composer update --prefer-dist --no-interaction --prefer-stable --quiet
+fi
 composer update --prefer-dist --no-interaction --prefer-stable ${COMPOSER_FLAGS}