-
Roeland Jago Douma authored
Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma authoredSigned-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
.drone.yml 56.62 KiB
kind: pipeline
name: jsunit
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: jsunit
image: nextcloudci/jsunit:jsunit-5
commands:
- ./autotest-js.sh
- curl -o codecov.sh https://codecov.io/bash
- sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5; fi"
- sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5; fi"
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: webpack-build
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: webpack-build
image: nextcloudci/node:node-4
commands:
- npm ci
- npm run build
- git status
- bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && exit 1 )"
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.1:php7.1-16
commands:
- ./autotest-checkers.sh
secrets: [ github_token ]
trigger:
branch:
- master
- stable*
event:
- pull_request