Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Oct 10, 2020
1 parent d107f8f commit 98f71f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ jobs:
- stage: Code Quality
name: Static analysis
php: 7.4
install: composer global require --dev phpstan/phpstan ^0.12 vimeo/psalm ^3.11 phpmetrics/phpmetrics ^2.6
install: composer global require --dev phpstan/phpstan ^0.12 vimeo/psalm ^3.11 maglnet/composer-require-checker ^2.0 phpmetrics/phpmetrics ^2.6
script:
- ~/.composer/vendor/bin/phpstan analyse -c phpstan.neon --no-progress --no-interaction
- ~/.composer/vendor/bin/psalm --show-info=true --shepherd
- ~/.composer/vendor/bin/composer-require-checker check ./composer.json
- ~/.composer/vendor/bin/phpmetrics --exclude=Exception src

- stage: Code Quality
name: Coding standards
php: 7.4
install: composer global require --dev doctrine/coding-standard ^8.1 maglnet/composer-require-checker ^2.0
install: composer global require --dev doctrine/coding-standard ^8.1
script:
- ~/.composer/vendor/bin/phpcs --standard=./phpcs.xml src tests
- ~/.composer/vendor/bin/composer-require-checker check ./composer.json
allow_failures:
- php: nightly

0 comments on commit 98f71f5

Please sign in to comment.