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

Use prefer-dist unstead of prefer-source in Travis #677

Closed
pascalchevrel opened this issue Mar 11, 2016 · 1 comment
Closed

Use prefer-dist unstead of prefer-source in Travis #677

pascalchevrel opened this issue Mar 11, 2016 · 1 comment
Assignees

Comments

@pascalchevrel
Copy link
Member

@pascalchevrel pascalchevrel commented Mar 11, 2016

Github has removed the API rating limit when installing dependencies from packages instead of clones:
composer/composer#4884 (comment)

That means we should now use prefer-dist instead of prefer-source which is faster since it downloads the snapshot of code from the tag and not the whole repo with history.

@pascalchevrel pascalchevrel self-assigned this Mar 11, 2016
pascalchevrel added a commit to pascalchevrel/transvision that referenced this issue Mar 11, 2016
pascalchevrel added a commit that referenced this issue Mar 11, 2016
…pdate

Fix issue #677: Update Travis config to use composer with --prefer-di…
@pascalchevrel
Copy link
Member Author

@pascalchevrel pascalchevrel commented Mar 11, 2016

This PR almost halved the build time on Travis, let's hope it's not just luck :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.