Legoktm has uploaded a new change for review. https://gerrit.wikimedia.org/r/196494
Change subject: Add "composer test" entry point for linting and phpunit ...................................................................... Add "composer test" entry point for linting and phpunit Change-Id: Id2ae4fb4868425be925526ad6262f5e5f4675f97 --- M .gitignore A composer.json M phpunit.xml.dist 3 files changed, 13 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/integration/jenkins refs/changes/94/196494/1 diff --git a/.gitignore b/.gitignore index fdec625..24e6ee0 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ !mediawiki/ !tests/ !tools/ +!composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..12ee475 --- /dev/null +++ b/composer.json @@ -0,0 +1,12 @@ +{ + "require-dev": { + "jakub-onderka/php-parallel-lint": "0.8.*", + "phpunit/phpunit": "~4.5" + }, + "scripts": { + "test": [ + "parallel-lint . --exclude vendor --exclude bin/lint.php", + "phpunit $PHPUNIT_ARGS" + ] + } +} diff --git a/phpunit.xml.dist b/phpunit.xml.dist index f525d9c..2fdac8f 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,6 +1,5 @@ <phpunit colors="true" - strict="true" > <testsuites> <testsuite> -- To view, visit https://gerrit.wikimedia.org/r/196494 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id2ae4fb4868425be925526ad6262f5e5f4675f97 Gerrit-PatchSet: 1 Gerrit-Project: integration/jenkins Gerrit-Branch: master Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits