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

Enhancement: Speed up builds as much as possible #168

Merged
merged 8 commits into from
Jul 13, 2015

Conversation

localheinz
Copy link
Contributor

This PR

  • indents .travis.yml consistently (unrelated)
  • provides feedback quickly if it has failed, using the fast_finish option
  • moves update of Composer itself to before_install section (unrelated)
  • runs composer install instead of composer update (unrelated)
  • checks links on PHP 5.6 only
  • builds docs on PHP 5.6 only

Before

screen shot 2015-07-12 at 23 25 43

See https://travis-ci.org/justinrainbow/json-schema/builds/70676013.

After

screen shot 2015-07-13 at 00 09 41

https://travis-ci.org/justinrainbow/json-schema/builds/70680917.

@localheinz
Copy link
Contributor Author

Seems like most of the time is still spent on installing dependencies with Composer. If links wouldn't needed to be checked on Travis, container-based infrastructure could be enabled, cutting the whole build down to probably around 2 minutes.

@localheinz localheinz force-pushed the feature/speed branch 3 times, most recently from f2776d1 to 75e0161 Compare July 13, 2015 04:16
@bighappyface
Copy link
Collaborator

@localheinz would you push the link check and docs build below phpunit for the fastest fail on PHP 5.6? We probably should have done that a long time ago considering it's pointless to build the docs for broken code.

Overall I think this is a great improvement.

@localheinz
Copy link
Contributor Author

@bighappyface

👍

@bighappyface
Copy link
Collaborator

+1

bighappyface added a commit that referenced this pull request Jul 13, 2015
Enhancement: Speed up builds as much as possible
@bighappyface bighappyface merged commit fded2a8 into jsonrainbow:master Jul 13, 2015
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