-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #202 from PHPJasper/develop
update version
- Loading branch information
Showing
10 changed files
with
1,139 additions
and
91 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# for php-coveralls | ||
service_name: travis-ci | ||
coverage_clover: tests/log/clover.xml | ||
json_path: tests/log/coveralls-upload.json |
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,17 @@ | ||
language: php | ||
|
||
php: | ||
- 7.2 | ||
- 7.3 | ||
- 7.4 | ||
|
||
before_script: | ||
- composer self-update | ||
- travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader | ||
- composer install --prefer-source --no-interaction --dev | ||
|
||
script: | ||
- composer test | ||
|
||
after_success: | ||
- php vendor/bin/php-coveralls --verbose |
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"authors": [ | ||
{ | ||
"name": "Daniel Rodrigues Lima", | ||
"email": "[email protected]", | ||
"email": "[email protected]", | ||
"role": "lead" | ||
} | ||
], | ||
|
@@ -19,8 +19,10 @@ | |
"php": "^7.2" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^8.3", | ||
"squizlabs/php_codesniffer": "3.*" | ||
"phpunit/phpunit": "^8.4", | ||
"php-coveralls/php-coveralls": "^2.2", | ||
"squizlabs/php_codesniffer": "*", | ||
"phpstan/phpstan": "^0.12.5" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
|
@@ -31,5 +33,17 @@ | |
"psr-4": { | ||
"PHPJasper\\Test\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"phpcs": "phpcs --standard=PSR12 -n src", | ||
"phpcbf": "phpcbf --standard=PSR12 -n src", | ||
"unit": "phpunit --coverage-clover ./tests/log/clover.xml --colors=always", | ||
"unit-html": "php -d phar.readonly=0 vendor/bin/phpunit --coverage-html ./tests/log/ --colors=always", | ||
"phpstan": "phpstan analyse src --level 0", | ||
"test": [ | ||
"@phpcs", | ||
"@unit", | ||
"@phpstan" | ||
] | ||
} | ||
} |
Oops, something went wrong.