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

Update build scripts to use phpunit/phpcs as a library and more. #27

Merged
merged 9 commits into from
Jul 22, 2014

Conversation

nubs
Copy link
Contributor

@nubs nubs commented Jul 19, 2014

This is the same standard set of changes I've made elsewhere. Important changes are using phpunit/phpcs as a library, enabling strict code coverage in phpunit, and setting the WORKDIR for the docker build (so you can docker run -ti -v $(pwd):/code mongo-queue-php composer update, etc.

nubs added 9 commits July 18, 2014 20:05
composer installs dev dependencies by default nowadays.
I've never seen us ignore these editor files before...
This allows phpunit to be run without having to specify the path to the
test suite.  This is a nicety for users and can help make this play well
if we hook it up to scrutinizer.
Rather than executing phpcs via passthru, pull it in as a library.  This
enables more programmatic access to it.
This enables more programmatic access to phpunit, especially when it
comes to code coverage.  By using the code coverage report object
directly we can remove the clover.xml generation and libxml dependency.
yonderblue pushed a commit that referenced this pull request Jul 22, 2014
Update build scripts to use phpunit/phpcs as a library and more.
@yonderblue yonderblue merged commit fdeff23 into traderinteractive:master Jul 22, 2014
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