From dfc13c3809faf656062704a25937020846eceea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 21 Nov 2018 12:56:52 +0100 Subject: [PATCH] Add basic drone config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .drone.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 00000000..334b38f2 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,31 @@ +clone: + git: + image: plugins/git + depth: 1 + +pipeline: + eslint: + image: nextcloudci/jsunit:jsunit-5 + commands: + - npm install + - npm run lint + when: + matrix: + TESTS: eslint + + vue-build: + image: nextcloudci/jsunit:jsunit-5 + commands: + - npm install + - npm run build + when: + matrix: + TESTS:vue-build + +matrix: + include: + - TESTS: eslint + - TESTS: vue-build + + +branches: [ master, stable* ]