2022-09-22 19:33:22 +00:00
|
|
|
pipeline:
|
2023-10-07 22:10:45 +00:00
|
|
|
analysis:
|
2023-08-22 17:52:54 +00:00
|
|
|
image: dart:3.0.7
|
2022-09-22 19:33:22 +00:00
|
|
|
commands:
|
2023-08-22 17:52:54 +00:00
|
|
|
# Proxy requests to pub.dev using pubcached
|
|
|
|
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
|
2022-09-22 19:33:22 +00:00
|
|
|
- dart analyze --fatal-infos --fatal-warnings
|
|
|
|
- dart test
|
2023-10-07 22:10:45 +00:00
|
|
|
when:
|
|
|
|
path:
|
|
|
|
includes: ['lib/**', 'test/**']
|
2023-08-19 15:33:05 +00:00
|
|
|
notify:
|
|
|
|
image: git.polynom.me/papatutuwawa/woodpecker-xmpp
|
|
|
|
settings:
|
|
|
|
xmpp_is_muc: 1
|
|
|
|
xmpp_tls: 1
|
|
|
|
xmpp_recipient: moxxy-build@muc.moxxy.org
|
|
|
|
xmpp_alias: 2Bot
|
|
|
|
secrets: [ xmpp_jid, xmpp_password, xmpp_server ]
|
|
|
|
when:
|
|
|
|
status:
|
|
|
|
- failure
|