-
Notifications
You must be signed in to change notification settings - Fork 179
Fix travis slow builds #112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,10 @@ before_install: | |
- composer self-update | ||
- composer global require hirak/prestissimo | ||
|
||
install: travis_retry travis_wait composer update --no-interaction --prefer-dist --prefer-stable $COMPOSER_OPTIONS | ||
install: | ||
- composer install --prefer-dist | ||
- composer remove friendsofphp/php-cs-fixer --dev | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would move this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you use the |
||
- travis_retry travis_wait composer update --no-interaction --prefer-dist --prefer-stable $COMPOSER_OPTIONS | ||
|
||
script: | ||
- vendor/bin/phpunit -v | ||
|
@@ -36,7 +39,9 @@ jobs: | |
- composer require --dev phpstan/phpstan symfony/expression-language --no-interaction --prefer-dist --prefer-stable | ||
- vendor/bin/phpstan analyse src --level 7 -c phpstan.neon | ||
env: PHPSTAN=true | ||
- script: vendor/bin/php-cs-fixer fix --verbose --diff --dry-run | ||
- script: | ||
- composer require friendsofphp/php-cs-fixer ^2.5 --dev | ||
- vendor/bin/php-cs-fixer fix --verbose --diff --dry-run | ||
env: CS-FIXER=true | ||
- stage: coverage | ||
php: 7.1 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this
composer install
pre-step still required?