Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
123 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so" | ||
xdebug.cli_color=1 | ||
xdebug.remote_enable=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
SYMFONY_VERSION=${SYMFONY_VERSION-2.3.*} | ||
COMPOSER_PREFER_LOWEST=${COMPOSER_PREFER_LOWEST-false} | ||
DOCKER_BUILD=${DOCKER_BUILD-false} | ||
|
||
if [ "$DOCKER_BUILD" = true ]; then | ||
cp .env.dist .env | ||
|
||
docker-compose build | ||
docker-compose run --rm php composer update --prefer-source | ||
|
||
exit | ||
fi | ||
|
||
composer self-update | ||
|
||
composer require --no-update symfony/form:${SYMFONY_VERSION} | ||
composer require --no-update symfony/framework-bundle:${SYMFONY_VERSION} | ||
composer require --no-update --dev symfony/validator:${SYMFONY_VERSION} | ||
composer require --no-update --dev symfony/yaml:${SYMFONY_VERSION} | ||
|
||
composer remove --no-update --dev friendsofphp/php-cs-fixer | ||
|
||
if [[ "$SYMFONY_VERSION" = *dev* ]]; then | ||
composer config minimum-stability dev | ||
fi | ||
|
||
composer update --prefer-source `if [ "$COMPOSER_PREFER_LOWEST" = true ]; then echo "--prefer-lowest --prefer-stable"; fi` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
DOCKER_BUILD=${DOCKER_BUILD-false} | ||
|
||
if [ "$DOCKER_BUILD" = false ]; then | ||
vendor/bin/phpunit --coverage-clover build/clover.xml | ||
fi | ||
|
||
if [ "$DOCKER_BUILD" = true ]; then | ||
docker-compose run --rm php vendor/bin/phpunit | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
DOCKER_BUILD=${DOCKER_BUILD-false} | ||
|
||
if [ "$DOCKER_BUILD" = false ]; then | ||
wget https://scrutinizer-ci.com/ocular.phar | ||
php ocular.phar code-coverage:upload --format=php-clover build/clover.xml | ||
fi |