Skip to content
Snippets Groups Projects
.drone.yml 51.86 KiB
kind: pipeline
name: jsunit

steps:
- name: jsunit
  image: nextcloudci/jsunit:jsunit-5
  environment:
      CODECOV_TOKEN:
          from_secret: CODECOV_TOKEN
  commands:
    - ./autotest-js.sh
    - curl -o codecov.sh https://codecov.io/bash
    - bash codecov.sh -C $DRONE_COMMIT

trigger:
  branch:
    - master
    - stable*
  event:
    - pull_request
    - push

---
kind: pipeline
name: checkers

steps:
- name: submodules
  image: docker:git
  commands:
    - git submodule update --init
- name: checkers
  image: nextcloudci/php7.3:latest
  commands:
    - ./autotest-checkers.sh
  secrets: [ github_token ]

trigger:
  branch:
    - master
    - stable*
  event:
    - pull_request
    - push

---
kind: pipeline
name: litmus

steps:
- name: submodules
  image: docker:git
  commands:
    - git submodule update --init
- name: litmus-v1
  image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  commands:
    - bash tests/travis/install.sh sqlite
    - bash apps/dav/tests/travis/litmus-v1/script.sh
- name: litmus-v2
  image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  commands:
    - bash tests/travis/install.sh sqlite
    - bash apps/dav/tests/travis/litmus-v2/script.sh

trigger:
  branch:
    - master
    - stable*
  event: