auto test
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
shimun 2019-10-31 21:05:20 +01:00
parent 38d638538b
commit 3d243836eb
Signed by: shimun
GPG Key ID: E81D8382DC2F971B

31
.drone.yml Normal file
View File

@ -0,0 +1,31 @@
kind: pipeline
name: default
steps:
- name: test
image: rust:1.38.0
commands:
- cargo test
- name: build_relase
image: rust:1.38.0
commands:
- cargo install --path . --root . -f
- tar cvzf ttt.tar.gz bin src Cargo.*
when:
event:
- tag
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_tkn
base_url:
from_secret: gitea_url
files:
- ttt.tar.gz
checksum:
- md5
- sha512
when:
event:
- tag