PiwigoDirectoryUploader/.drone.yml

30 lines
628 B
YAML
Raw Permalink Normal View History

2019-06-06 06:59:33 +02:00
kind: pipeline
name: default
2019-06-05 23:50:47 +02:00
2019-06-06 06:59:33 +02:00
steps:
- name: fetch
image: docker:git
commands:
- git fetch --tags
2019-06-05 23:50:47 +02:00
2019-06-06 06:59:33 +02:00
- name: buildci
image: golang
commands:
2019-06-06 07:14:09 +02:00
- apt-get update && apt-get install musl -y --no-install-recommends musl musl-dev musl-tools
2019-06-06 06:59:33 +02:00
- go get ./...
- go vet ./...
- build/build-gcc.sh
- build/build-musl.sh
- go test -cover ./...
2019-06-06 06:59:33 +02:00
when:
branch: master
- name: buildrelease
image: golang
commands:
- apt-get update && apt-get install musl -y --no-install-recommends musl musl-dev musl-tools
2019-06-06 06:59:33 +02:00
- go get ./...
- build/build-gcc.sh
2019-06-06 06:59:33 +02:00
- build/build-musl.sh
when:
event: tag