tests: drop Symfony and Nette project testing, too random

This commit is contained in:
TomasVotruba 2017-10-23 11:26:12 +02:00
parent 87d8799a9e
commit 12f86df325
2 changed files with 1 additions and 13 deletions

View File

@ -5,8 +5,6 @@ php:
install:
- composer install
# prepare test projects
- composer create-test-projects
script:
- vendor/bin/phpunit --coverage-clover coverage.xml
@ -15,8 +13,6 @@ script:
# check coding standard (defined in composer.json "scripts" section)
# if this fails, run "composer fix-cs" to fix all fixable issues
- composer check-cs
# try on test projects
- composer process-test-projects
after_script:
# upload coverage to Coveralls.io

View File

@ -48,15 +48,7 @@
"scripts": {
"all": ["phpunit", "@check-cs", "@phpstan"],
"check-cs": "ecs check bin packages src tests",
"fix-cs": "ecs check bin packages src tests --fix",
"create-test-projects": [
"composer create-project nette/nette temp/nette --no-dev",
"composer create-project symfony/symfony temp/symfony --no-dev"
],
"process-test-projects": [
"bin/rector process temp/nette/vendor/nette temp/nette/vendor/latte --config src/config/level/nette/all.yml",
"bin/rector process temp/symfony/src/Symfony/Bundle --config src/config/level/symfony/all.yml"
]
"fix-cs": "ecs check bin packages src tests --fix"
},
"config": {
"sort-packages": true