Skip to content

Commit

Permalink
tweaking travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
SignpostMarv committed Mar 31, 2020
1 parent ecb5500 commit 2586331
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ cache:
- ./vendor/
install:
- travis_retry composer install --no-interaction --no-suggest --prefer-source
- composer update --dry-run roave/security-advisories
script:
- composer run tests
- composer run static-analysis
- ./vendor/bin/psalm --show-info=false --shepherd
- ./vendor/bin/phpunit -vvvv --coverage-clover=phpunit.clover
- ./vendor/bin/php-coveralls
matrix:
fast_finish: true
7 changes: 2 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,12 @@
"vimeo/psalm": "<3.8.3"
},
"scripts": {
"phpunit": [
"phpunit -vvvv --coverage-clover=phpunit.clover"
],
"tests": [
"@phpunit",
"phpunit -vvvv --no-coverage",
"psalm --show-info=false",
"@static-analysis"
],
"static-analysis": [
"psalm --shepherd",
"phpcpd src Tests",
"phpmnd ./ --exclude=./phpunit/ --exclude=./vendor/ --non-zero-exit-on-violation --hint",
"composer-require-checker check ./composer.json",
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2586331

Please sign in to comment.