Skip to content
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

Travis: improve caching between builds #14

Merged
merged 1 commit into from
Jul 30, 2020

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Jun 28, 2020

Unless there is a specific reason to use --prefer-source, always use --prefer-dist for the composer install command to allow Travis to optimally use the caching feature.

@jrfnl
Copy link
Collaborator Author

jrfnl commented Jul 20, 2020

@grogy Any chance of this PR getting some love ?

@grogy
Copy link
Member

grogy commented Jul 24, 2020

Thank you for PR. What about remove option --prefer-source? --prefer-dist is default behaviour of Composer. You have right that isn't some reason for use different way.

@jrfnl
Copy link
Collaborator Author

jrfnl commented Jul 24, 2020

@grogy Agreed. PR has been updated.

Unless there is a specific reason to use `--prefer-source`, always use `--prefer-dist` (default) for the `composer install` command to allow Travis to optimally use the caching feature.
@grogy
Copy link
Member

grogy commented Jul 30, 2020

Thank you. Merged.

@grogy grogy merged commit c501cc4 into php-parallel-lint:master Jul 30, 2020
@jrfnl jrfnl deleted the feature/travis-tweak branch July 30, 2020 13:39
@jrfnl jrfnl added this to the 1.0.0 milestone Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants