moxlib/.woodpecker.yml

25 lines
671 B
YAML
Raw Permalink Normal View History

2022-09-28 12:10:57 +00:00
pipeline:
2022-09-28 12:12:20 +00:00
lint:
image: dart:3.0.7
2022-09-28 12:10:57 +00:00
commands:
# Proxy requests to pub.dev using pubcached
2023-08-22 17:51:08 +00:00
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
2022-09-28 12:10:57 +00:00
- dart analyze --fatal-infos --fatal-warnings
test:
image: dart:3.0.7
2022-09-28 12:10:57 +00:00
commands:
2023-08-22 17:51:08 +00:00
# Proxy requests to pub.dev using pubcached
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
2022-09-28 12:10:57 +00:00
- dart test
notify:
image: git.polynom.me/papatutuwawa/woodpecker-xmpp
settings:
xmpp_tls: 1
xmpp_is_muc: 1
xmpp_recipient: moxxy-build@muc.moxxy.org
xmpp_alias: 2Bot
secrets: [ xmpp_jid, xmpp_password, xmpp_server ]
when:
status:
- failure