test
This commit is contained in:
parent
34ca649d23
commit
6bf237b205
@ -1,11 +1,19 @@
|
||||
# https://woodpecker-ci.org/docs/usage/intro
|
||||
pipeline:
|
||||
|
||||
#build_and_test:
|
||||
# image: rust
|
||||
# commands:
|
||||
# - cargo build --release
|
||||
# - cargo test --release
|
||||
build_and_test:
|
||||
image: rust
|
||||
commands:
|
||||
- cargo build --release
|
||||
- cargo test --release
|
||||
|
||||
gitea_release:
|
||||
# http://plugins.drone.io/drone-plugins/drone-gitea-release/
|
||||
image: plugins/gitea-release
|
||||
files: target/release/reel-moby
|
||||
secrest: [api_key, base_url]
|
||||
when
|
||||
tag: test*
|
||||
|
||||
notify:
|
||||
# http://plugins.drone.io/appleboy/drone-discord/
|
||||
@ -14,11 +22,3 @@ pipeline:
|
||||
message: "build {{build.number}} failed. Fix me please."
|
||||
when:
|
||||
status: failure
|
||||
|
||||
gitea_release:
|
||||
# http://plugins.drone.io/drone-plugins/drone-gitea-release/
|
||||
image: plugins/gitea-release
|
||||
files: target/release/reel-moby
|
||||
secrest: [api_key, base_url]
|
||||
#when
|
||||
# tag: v*
|
Loading…
Reference in New Issue
Block a user