removed composer --dev option everywhere
This commit is contained in:
parent
004e5abbd6
commit
af59316536
@ -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;
|
- if [ "$TRAVIS_BRANCH" = "master" ]; then export COMPOSER_ROOT_VERSION=dev-master; else export COMPOSER_ROOT_VERSION="$TRAVIS_BRANCH".x-dev; fi;
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- if [ "$components" = "no" ]; then composer --prefer-source --dev install; fi;
|
- if [ "$components" = "no" ]; then composer --prefer-source install; fi;
|
||||||
|
|
||||||
script:
|
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 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" = "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" = "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 --dev --prefer-lowest --prefer-stable 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;
|
||||||
|
@ -9,7 +9,7 @@ Resources
|
|||||||
You can run the unit tests with the following command:
|
You can run the unit tests with the following command:
|
||||||
|
|
||||||
$ cd path/to/Symfony/Bridge/ProxyManager/
|
$ cd path/to/Symfony/Bridge/ProxyManager/
|
||||||
$ composer.phar install --dev
|
$ composer.phar install
|
||||||
$ phpunit
|
$ phpunit
|
||||||
|
|
||||||
[1]: https://github.com/Ocramius/ProxyManager
|
[1]: https://github.com/Ocramius/ProxyManager
|
||||||
|
@ -40,5 +40,5 @@ Resources
|
|||||||
You can run the unit tests with the following command:
|
You can run the unit tests with the following command:
|
||||||
|
|
||||||
$ cd path/to/Symfony/Component/Debug/
|
$ cd path/to/Symfony/Component/Debug/
|
||||||
$ composer.phar install --dev
|
$ composer.phar install
|
||||||
$ phpunit
|
$ phpunit
|
||||||
|
@ -10,7 +10,7 @@ Preparation
|
|||||||
To prepare, you need to install the development dependencies of the component.
|
To prepare, you need to install the development dependencies of the component.
|
||||||
|
|
||||||
$ cd /path/to/Symfony/Component/Intl
|
$ cd /path/to/Symfony/Component/Intl
|
||||||
$ composer.phar install --dev
|
$ composer.phar install
|
||||||
|
|
||||||
Determining your ICU version
|
Determining your ICU version
|
||||||
---------------------------
|
---------------------------
|
||||||
|
@ -18,7 +18,7 @@ Resources
|
|||||||
You can run the unit tests with the following command:
|
You can run the unit tests with the following command:
|
||||||
|
|
||||||
$ cd path/to/Symfony/Component/Intl/
|
$ cd path/to/Symfony/Component/Intl/
|
||||||
$ composer.phar install --dev
|
$ composer.phar install
|
||||||
$ phpunit
|
$ phpunit
|
||||||
|
|
||||||
[0]: http://www.php.net/manual/en/intl.setup.php
|
[0]: http://www.php.net/manual/en/intl.setup.php
|
||||||
|
@ -50,7 +50,7 @@ the subdirectories bin/ and lib/.
|
|||||||
For running this script, the intl extension must be loaded and all vendors
|
For running this script, the intl extension must be loaded and all vendors
|
||||||
must have been installed through composer:
|
must have been installed through composer:
|
||||||
|
|
||||||
composer install --dev
|
composer install
|
||||||
|
|
||||||
MESSAGE
|
MESSAGE
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user