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

Speedup build and reduced package size #16

Merged
merged 1 commit into from
Dec 8, 2015
Merged

Speedup build and reduced package size #16

merged 1 commit into from
Dec 8, 2015

Conversation

fabiang
Copy link

@fabiang fabiang commented Dec 8, 2015

Hello,

I've made some small improvements:

  • Reduce package size by 60%
  • Speed up TravisCI builds with Container environment and caching
  • Test also with lowest possible dependencies
  • Run builds on PHP 7 and made HHVM a first-class citizen
  • Removed not needed phpunit.php

If you add a secret environment variable named GITHUB_OAUTH_TOKEN to the Travis job you won't run into „api rate limit“ errors.

@frankdejonge
Copy link
Member

@fabiang looks good! I'll wait for Travis to finish.

@@ -1,4 +1,3 @@
vendor
composer.lock
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should remain ignored.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's absolutely right, for applications, not for libraries.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At IPC Spring 2015 he said also for libraries, if you want.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are multiple views on this matter, mine and many others are "don't commit it for libs".

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the commit

@fabiang fabiang changed the title Speedup build, reduced package size and unignore composer.lock Speedup build and reduced package size Dec 8, 2015
frankdejonge added a commit that referenced this pull request Dec 8, 2015
Speedup build and reduced package size
@frankdejonge frankdejonge merged commit 0724230 into thephpleague:master Dec 8, 2015
@frankdejonge
Copy link
Member

Tagged as 1.0.8

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

Successfully merging this pull request may close these issues.

2 participants