-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbitrise.yml
100 lines (99 loc) · 2.73 KB
/
bitrise.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
format_version: '7'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
trigger_map:
- push_branch: master
workflow: develop
- push_branch: "*"
workflow: develop
- pull_request_source_branch: "*"
workflow: develop
workflows:
deploy:
steps:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- [email protected]: {}
- [email protected]: {}
- [email protected]: {}
- xcode-test:
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- generate_code_coverage_files: 'yes'
- scheme: "$BITRISE_SCHEME"
- [email protected]: {}
- cache-push: {}
envs:
- opts:
is_expand: false
BITRISE_SCHEME: Debug
develop:
steps:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- [email protected]: {}
- [email protected]: {}
- [email protected]: {}
- script:
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
# write your script here
brew update
brew upgrade mint || brew install mint || true
mint install krzysztofzablocki/[email protected]
- carthage:
inputs:
- carthage_options: "--no-use-binaries --platform iOS --cache-builds"
- git::https://github.com/limamedeiros/bitrise-step-swiftlint@master:
inputs:
- reporter: html
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- generate_code_coverage_files: 'yes'
- scheme: "$BITRISE_SCHEME"
inputs:
- cache_paths: "./Carthage -> ./Carthage/Cachefile\n"
- [email protected]: {}
envs:
- opts:
is_expand: false
BITRISE_SCHEME: Debug
- opts:
is_expand: false
BITRISE_EXPORT_METHOD: development
unit-tests:
steps:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- [email protected]: {}
- [email protected]: {}
- [email protected]: {}
inputs:
- linting_path: "$BITRISE_SOURCE_DIR"
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- scheme: "$BITRISE_SCHEME"
- [email protected]: {}
- [email protected]: {}
envs:
- opts:
is_expand: false
BITRISE_SCHEME: Unit Tests
- opts:
is_expand: false
BITRISE_EXPORT_METHOD: development
app:
envs:
- opts:
is_expand: false
BITRISE_PROJECT_PATH: Kamu.xcodeproj