forked from duckduckgo/Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbitrise.yml
80 lines (80 loc) · 2.11 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
---
format_version: '5'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: android
workflows:
vdt:
steps:
- activate-ssh-key:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- [email protected]: {}
- [email protected]: {}
- [email protected]: {}
inputs:
- gradle_task: assembleDebug assembleDebugAndroidTest
title: Build APK
inputs:
- test_devices: |-
NexusLowRes,26,en,portrait
Nexus4,21,en,portrait
- test_type: instrumentation
- deploy-to-bitrise-io: {}
- [email protected]: {}
primary-backup:
steps:
inputs:
- version: '27'
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- [email protected]: {}
- [email protected]: {}
title: Do anything with Script step
- [email protected]: {}
inputs:
- gradle_task: assembleDebug
title: Build APK
inputs:
- project_location: "$PROJECT_LOCATION"
- module: "$MODULE"
- variant: "$TEST_VARIANT"
inputs:
- project_location: "$PROJECT_LOCATION"
- module: "$MODULE"
- variant: "$TEST_VARIANT"
title: Run JVM Unit Tests
- [email protected]: {}
inputs:
- gradle_task: connectedDebugAndroidTest
title: Run Instrumentation Tests
- [email protected]: {}
- [email protected]: {}
app:
envs:
- opts:
is_expand: false
PROJECT_LOCATION: "."
- opts:
is_expand: false
GRADLEW_PATH: gradlew
- opts:
is_expand: false
MODULE: app
- opts:
is_expand: false
BUILD_VARIANT: Debug
- opts:
is_expand: false
TEST_VARIANT: Debug
trigger_map:
- push_branch: feature/*
workflow: vdt
- pull_request_source_branch: "*"
workflow: vdt