summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-11-21 12:56:52 +0100
committerJulius Härtl <jus@bitgrid.net>2018-11-21 13:21:02 +0100
commitdfc13c3809faf656062704a25937020846eceea2 (patch)
tree448d39481115ddc1c59824274f1de135fa6348b6 /.drone.yml
parent37fa16614d83816a6a8d9502f0770631cf669d4f (diff)
Add basic drone config
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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* ]