-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.drone.yml
46 lines (38 loc) · 789 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
kind: pipeline
type: docker
name: default
steps:
- name: setup
image: cirrusci/flutter:stable
commands:
- flutter pub get
- name: format
image: cirrusci/flutter:stable
commands:
- flutter format --set-exit-if-changed .
- name: analyze
image: cirrusci/flutter:stable
commands:
- flutter analyze
- name: test
image: cirrusci/flutter:stable
commands:
- flutter test
- name: build-web
image: cirrusci/flutter:stable
commands:
- flutter build web
- name: build-apk
image: cirrusci/flutter:stable
commands:
- flutter build apk
- name: build-ios
image: cirrusci/flutter:stable
commands:
- flutter build ios
trigger:
event:
- push
- pull_request
branch:
- main