From a087ea3334862fd1897adc817ce362a3d67d09e7 Mon Sep 17 00:00:00 2001 From: Paladox Date: Sun, 25 Oct 2015 16:36:46 +0000 Subject: [PATCH] Add composer.json Test entry point for CI. Just composer install && composer test This can later on let us easily add support for PHP CodeSniffer. Also normalized /.gitignore Signed-off-by: Antoine Musso Change-Id: I827d29abedb32e59627fcdaf0a90815fe52efd20 --- .gitignore | 6 ++++-- composer.json | 10 ++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 composer.json diff --git a/.gitignore b/.gitignore index 3465ead02..18eac7846 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ -node_modules/ -docs/ +/docs/ +/node_modules/ +/vendor/ +/composer.lock diff --git a/composer.json b/composer.json new file mode 100644 index 000000000..f2883f7a0 --- /dev/null +++ b/composer.json @@ -0,0 +1,10 @@ +{ + "require-dev": { + "jakub-onderka/php-parallel-lint": "0.9" + }, + "scripts": { + "test": [ + "parallel-lint . --exclude vendor" + ] + } +}