mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
tests: drop Symfony and Nette project testing, too random
This commit is contained in:
parent
87d8799a9e
commit
12f86df325
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user