From af593165369aeb17e504900b5185a5c4583a7951 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 8 Feb 2015 08:33:54 +0100 Subject: [PATCH] removed composer --dev option everywhere --- .travis.yml | 6 +++--- src/Symfony/Bridge/ProxyManager/README.md | 2 +- src/Symfony/Component/Debug/README.md | 2 +- src/Symfony/Component/Intl/CONTRIBUTING.md | 2 +- src/Symfony/Component/Intl/README.md | 2 +- src/Symfony/Component/Intl/Resources/bin/update-data.php | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3c3ba5b4ce..eba78dcddf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,10 +36,10 @@ before_install: - if [ "$TRAVIS_BRANCH" = "master" ]; then export COMPOSER_ROOT_VERSION=dev-master; else export COMPOSER_ROOT_VERSION="$TRAVIS_BRANCH".x-dev; fi; install: - - if [ "$components" = "no" ]; then composer --prefer-source --dev install; fi; + - if [ "$components" = "no" ]; then composer --prefer-source install; fi; script: - if [ "$components" = "no" ]; then ls -d src/Symfony/*/* | parallel --gnu --keep-order 'echo -e "\\nRunning {} tests"; phpunit --exclude-group tty,benchmark,intl-data {} || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; - if [ "$components" = "no" ]; then echo -e "\\nRunning tests requiring tty"; phpunit --group tty || (echo -e "\\e[41mKO\\e[0m tty group" && $(exit 1)); fi; - - if [ "$components" = "high" ]; then find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist | sed 's#\(.*\)/.*#\1#' | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source --dev update; phpunit --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; - - if [ "$components" = "low" ]; then find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist | sed 's#\(.*\)/.*#\1#' | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source --dev --prefer-lowest --prefer-stable update; phpunit --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; + - if [ "$components" = "high" ]; then find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist | sed 's#\(.*\)/.*#\1#' | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source update; phpunit --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; + - if [ "$components" = "low" ]; then find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist | sed 's#\(.*\)/.*#\1#' | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source --prefer-lowest --prefer-stable update; phpunit --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; diff --git a/src/Symfony/Bridge/ProxyManager/README.md b/src/Symfony/Bridge/ProxyManager/README.md index f2ce134241..dc68f5b4d1 100644 --- a/src/Symfony/Bridge/ProxyManager/README.md +++ b/src/Symfony/Bridge/ProxyManager/README.md @@ -9,7 +9,7 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Bridge/ProxyManager/ - $ composer.phar install --dev + $ composer.phar install $ phpunit [1]: https://github.com/Ocramius/ProxyManager diff --git a/src/Symfony/Component/Debug/README.md b/src/Symfony/Component/Debug/README.md index cad3893855..7d9edc3103 100644 --- a/src/Symfony/Component/Debug/README.md +++ b/src/Symfony/Component/Debug/README.md @@ -40,5 +40,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Debug/ - $ composer.phar install --dev + $ composer.phar install $ phpunit diff --git a/src/Symfony/Component/Intl/CONTRIBUTING.md b/src/Symfony/Component/Intl/CONTRIBUTING.md index 0657e12019..c4e2bace90 100644 --- a/src/Symfony/Component/Intl/CONTRIBUTING.md +++ b/src/Symfony/Component/Intl/CONTRIBUTING.md @@ -10,7 +10,7 @@ Preparation To prepare, you need to install the development dependencies of the component. $ cd /path/to/Symfony/Component/Intl - $ composer.phar install --dev + $ composer.phar install Determining your ICU version --------------------------- diff --git a/src/Symfony/Component/Intl/README.md b/src/Symfony/Component/Intl/README.md index d7f218f423..b601c78ebb 100644 --- a/src/Symfony/Component/Intl/README.md +++ b/src/Symfony/Component/Intl/README.md @@ -18,7 +18,7 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Intl/ - $ composer.phar install --dev + $ composer.phar install $ phpunit [0]: http://www.php.net/manual/en/intl.setup.php diff --git a/src/Symfony/Component/Intl/Resources/bin/update-data.php b/src/Symfony/Component/Intl/Resources/bin/update-data.php index 1d92bd851e..bfe99ecb3e 100644 --- a/src/Symfony/Component/Intl/Resources/bin/update-data.php +++ b/src/Symfony/Component/Intl/Resources/bin/update-data.php @@ -50,7 +50,7 @@ the subdirectories bin/ and lib/. For running this script, the intl extension must be loaded and all vendors must have been installed through composer: -composer install --dev +composer install MESSAGE );