summaryrefslogtreecommitdiffstats
path: root/.drone.yml
blob: 334b38f2211ab1f5bccce5d1b6f35775b0466018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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* ]