weibo_kit/.drone.yml
2019-03-15 14:05:00 +08:00

41 lines
722 B
Dart

kind: pipeline
name: default
steps:
- name: prepare
image: v7lin/flutter:1.0.0-stable
volumes:
- name: pub-cache
path: /opt/flutter/.pub-cache
commands:
- flutter packages get
- name: analyze
image: v7lin/flutter:1.0.0-stable
volumes:
- name: pub-cache
path: /opt/flutter/.pub-cache
commands:
- flutter analyze
- name: test
image: v7lin/flutter:1.0.0-stable
volumes:
- name: pub-cache
path: /opt/flutter/.pub-cache
commands:
- pushd example/
- flutter test
- name: publish-check
image: v7lin/flutter:1.0.0-stable
volumes:
- name: pub-cache
path: /opt/flutter/.pub-cache
commands:
- flutter packages pub publish --dry-run
volumes:
- name: pub-cache
temp: {}