Smalyshev has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/399780 )
Change subject: Update system files to cookicutter standard ...................................................................... Update system files to cookicutter standard Change-Id: Ib731a382f27d3be53b1721aa33af609451cc79cb --- A .editorconfig A .gitattributes M .gitignore M .travis.yml M composer.json 5 files changed, 37 insertions(+), 9 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/lucene-explain-parser refs/changes/80/399780/1 diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c2dfc46 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = tab +indent_size = tab diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..b6fe658 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +.editorconfig export-ignore +.gitattributes export-ignore +.gitignore export-ignore +.gitreview export-ignore +.travis.yml export-ignore +Doxyfile export-ignore +composer.json export-ignore +phpcs.xml export-ignore +phpunit.xml.dist export-ignore +tests/ export-ignore diff --git a/.gitignore b/.gitignore index a75dba1..7fd2a7b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ -/vendor/ +/vendor composer.lock .idea +/doc +/coverage diff --git a/.travis.yml b/.travis.yml index de29cae..446a8da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,12 @@ +sudo: false language: php php: - - 5.6 - - hhvm -script: composer update && composer test + - "5.5" + - "5.6" + - "7.0" + - "7.1" + - "hhvm" +install: + - composer install +script: +- composer test diff --git a/composer.json b/composer.json index ca0ac4a..561da21 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "library", "license": "Apache 2.0", "minimum-stability": "dev", - "require": { "php": ">=5.5.0" }, + "require": { "php": ">=5.5.9" }, "autoload": { "psr-4": { "LuceneExplain\\": "src/" @@ -27,9 +27,12 @@ }, "scripts": { "test": [ - "vendor/bin/parallel-lint . --exclude vendor", - "vendor/bin/phpunit tests/", - "vendor/bin/phpcs -p -s" - ] + "parallel-lint . --exclude vendor", + "phpunit tests/", + "phpcs -p -s" + ], + "fix": [ + "phpcbf" + ] } } -- To view, visit https://gerrit.wikimedia.org/r/399780 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib731a382f27d3be53b1721aa33af609451cc79cb Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/lucene-explain-parser Gerrit-Branch: master Gerrit-Owner: Smalyshev <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
