-
Notifications
You must be signed in to change notification settings - Fork 209
/
Copy pathbitbucket-pipelines.yml
executable file
·47 lines (45 loc) · 1.34 KB
/
bitbucket-pipelines.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
47
image: cirrusci/flutter:3.13.1
definitions:
steps:
- step: &running-ci
name: Check format, lint & commit message
script:
- make check_commit_message
- flutter doctor -v
- echo "Install melos"
- dart pub global activate melos 3.1.0
- export PATH="$PATH":"$HOME/.pub-cache/bin"
- echo "Run build_runner"
- make sync
# - echo "Run Unit Test"
# - make test
- echo "Check format"
- make format
- echo "Run analyze app"
- make analyze_app
- echo "Run analyze data"
- make analyze_data
- echo "Run analyze domain"
- make analyze_domain
- echo "Run analyze shared"
- make analyze_shared
- echo "Run dart_code_metrics"
- make dart_code_metrics
# - echo "Run metrics_app"
# - make metrics_app
# - echo "Run metrics_data"
# - make metrics_data
# - echo "Run metrics_domain"
# - make metrics_domain
# - echo "Run metrics_shared"
# - make metrics_shared
pipelines:
pull-requests:
'feature/NFT-*':
- step: *running-ci
'bugfix/NFT-*':
- step: *running-ci
'hotfix/NFT-*':
- step: *running-ci
'release/NFT-*':
- step: *running-ci