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

Comments

Projects
None yet
1 participant
@pascalchevrel
Member

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

Merge pull request #678 from pascalchevrel/issue677_travis_composer_u…
…pdate

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

This comment has been minimized.

Show comment
Hide comment
@pascalchevrel

pascalchevrel Mar 11, 2016

Member

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

Member

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