-
Notifications
You must be signed in to change notification settings - Fork 2
/
bitrise.yml
106 lines (106 loc) · 2.55 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
101
102
103
104
105
106
---
format_version: '4'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: react-native
trigger_map:
- push_branch: "*"
workflow: javascript
- pull_request_source_branch: "*"
workflow: javascript
workflows:
setup:
steps:
- activate-ssh-key@3.1.1:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone: {}
- ensure-clean-git@0.9.1: {}
- nvm@1.2.1: {}
- npm@0.9.1:
inputs:
- command: install
title: NPM Install
javascript:
steps:
- npm@0.9.1:
title: Lint Check
inputs:
- command: run test
- npm@0.9.1:
title: Flow Check
inputs:
- command: run test
- npm@0.9.1:
title: Unit Tests
inputs:
- command: run test
is_always_run: true
- npm@0.9.1:
title: Integration Tests
is_always_run: true
inputs:
- command: run test
- deploy-to-bitrise-io@1.3.11: {}
before_run:
- setup
after_run:
- android
- ios
ios:
steps:
- cocoapods-install@1.7.2:
inputs:
- podfile_path: "./ios"
- certificate-and-profile-installer@1.9.3: {}
- xcode-archive@2.4.8:
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- scheme: "$BITRISE_SCHEME"
- export_method: "$BITRISE_EXPORT_METHOD"
- configuration: Release
- deploy-to-bitrise-io@1.3.11: {}
before_run: []
android:
steps:
- gradle-runner@1.8.3:
inputs:
- gradle_file: "$GRADLE_BUILD_FILE_PATH"
- gradle_task: assembleRelease
- gradlew_path: "$GRADLEW_PATH"
- deploy-to-bitrise-io@1.3.11: {}
before_run: []
beta_release:
steps:
- applivery-ios@0.2.1:
inputs:
- app_id: "$APPLIVERY_APP_ID_IOS"
- notify: 'false'
- applivery-android@0.2.1:
inputs:
- app_id: "$APPLIVERY_APP_ID_IOS"
- notify: 'false'
- appetize-deploy@0.1.3: {}
- deploy-to-bitrise-io@1.3.11: {}
envs:
- opts:
is_expand: false
APPLIVERY_APP_ID_IOS: 5afac4a542d51b36513484bd
- opts:
is_expand: false
APPLIVERY_APP_ID_ANDROID: 5afac5e942d51b36513484c1
app:
envs:
- opts:
is_expand: false
GRADLE_BUILD_FILE_PATH: android/build.gradle
- opts:
is_expand: false
GRADLEW_PATH: android/gradlew
- opts:
is_expand: false
BITRISE_PROJECT_PATH: ios/mtgx.xcworkspace
- opts:
is_expand: false
BITRISE_SCHEME: mtgx
- opts:
is_expand: false
BITRISE_EXPORT_METHOD: app-store