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: faster builds / only generate code coverage when needed #356

Merged
merged 1 commit into from
Sep 16, 2019
Merged

Travis: faster builds / only generate code coverage when needed #356

merged 1 commit into from
Sep 16, 2019

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Sep 16, 2019

  • Turn off Xdebug.
    Xdebug is only needed when code coverage is being checked. Disabling it when it's not needed, will make the Composer install a lot faster.
  • Only let PHPUnit generate code coverage information when it will actually be used - i.e. in the build with TEST_COVERAGE = 1 -.
    This should make all affected builds a little faster.

* Turn off Xdebug.
    Xdebug is only _needed_ when code coverage is being checked. Disabling it when it's not needed, will make the Composer install a lot faster.
* Only let PHPUnit generate code coverage information when it will actually be used - i.e. in the build with `TEST_COVERAGE = 1` -.
    This should make all affected builds a little faster.
@rmccue rmccue merged commit b780740 into WordPress:master Sep 16, 2019
@jrfnl jrfnl added this to the 1.7.1 milestone Sep 17, 2019
@jrfnl jrfnl deleted the feature/travis-code-coverage-tweaks branch September 17, 2019 01:56
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