This repository has been archived on 2021-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
abra/.drone.yml

29 lines
538 B
YAML
Raw Normal View History

2020-09-08 06:53:03 +00:00
---
kind: pipeline
name: linters
steps:
- name: run shellcheck
2020-10-25 20:19:14 +00:00
image: alpine:latest
2020-09-08 06:53:03 +00:00
commands:
2020-10-25 20:19:14 +00:00
- apk add shellcheck
- shellcheck abra
2020-10-25 20:17:01 +00:00
2020-10-26 10:21:58 +00:00
# - name: run unit tests
# image: docker:dind
# commands:
# - apk add bats curl
# - bats test.bats
2020-10-26 10:20:17 +00:00
- name: collect code coverage
image: robertstettner/drone-codecov
commands:
- apk add kcov
- mkdir -p coverage && kcov coverage abra
- /bin/drone-codecov -s coverage
secrets:
- codecov_token
2020-09-08 06:53:03 +00:00
trigger:
branch:
2020-09-08 06:54:54 +00:00
- main