Make CI zippier with alpine
This commit is contained in:
parent
4bf1dbd7eb
commit
bf44270b3d
11
.drone.yml
11
.drone.yml
@ -3,18 +3,15 @@ kind: pipeline
|
|||||||
name: linters
|
name: linters
|
||||||
steps:
|
steps:
|
||||||
- name: run shellcheck
|
- name: run shellcheck
|
||||||
image: debian:buster
|
image: alpine:latest
|
||||||
commands:
|
commands:
|
||||||
- apt update
|
- apk add shellcheck
|
||||||
- apt install -y shellcheck
|
|
||||||
- shellcheck abra
|
- shellcheck abra
|
||||||
|
|
||||||
- name: run unit tests
|
- name: run unit tests
|
||||||
image: debian:buster
|
image: docker:dind
|
||||||
commands:
|
commands:
|
||||||
- apt update
|
- apk add bats curl
|
||||||
- apt install -y bats curl
|
|
||||||
- curl -fsSL https://get.docker.com | sh
|
|
||||||
- bats test.bats
|
- bats test.bats
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
Reference in New Issue
Block a user