summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml31
1 files changed, 31 insertions, 0 deletions
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* ]