Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/photos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2019-12-01 11:37:54 +0300
committerGitHub <noreply@github.com>2019-12-01 11:37:54 +0300
commit764e341c6163d6a18a09da4e52292b47a806e37f (patch)
tree7f5f756e765d8bbd76ef64afabe2582f437040ac /.drone.yml
parent893b8974a091af019681cd7669133287edac5655 (diff)
Add base webpack testing
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 00000000..44410662
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,19 @@
+kind: pipeline
+name: webpack
+
+steps:
+ - name: build
+ image: nextcloudci/node:node-4
+ commands:
+ - npm ci
+ - npm run build
+ - name: changes
+ image: nextcloudci/node:node-4
+ commands:
+ - git status
+ - bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && exit 1 )"
+
+trigger:
+ branch:
+ - master
+ - stable*