Skip to content

Commit

Permalink
[*]: try to fix "travis" config
Browse files Browse the repository at this point in the history
  • Loading branch information
voku committed Jul 18, 2020
1 parent 3c36698 commit 60d0b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -28,14 +28,14 @@ jobs:
- php: nightly
- name: "Coding style"
php: 7.4
install:

This comment has been minimized.

Copy link
@szepeviktor

szepeviktor Jul 18, 2020

Contributor

@voku If we don't null out install: the install below will be executed: composer update installing packages but they are not necessary for php-cs-fixer

This comment has been minimized.

This comment has been minimized.

Copy link
@voku

voku Jul 18, 2020

Author Owner

Thanks for the feedback, fixed.

script:
- find -L . -path ./vendor -prune -o -name '*.php' -print0 | xargs -0 -n 1 -P 4 -- php -l
- tools/php-cs-fixer fix --dry-run
- name: "Static analysis"
php: 7.4
install:
- travis_retry composer require --no-interaction --prefer-dist --optimize-autoloader phpstan/phpstan
- travis_retry composer require --no-interaction --prefer-dist --optimize-autoloader vimeo/psalm
script:
- vendor/bin/phpstan analyse
- vendor/bin/psalm
Expand Down

0 comments on commit 60d0b97

Please sign in to comment.