Skip to content

Commit 552a49f

Browse files
committed
Updated config.yml
1 parent dbea22c commit 552a49f

File tree

1 file changed

+4
-36
lines changed

1 file changed

+4
-36
lines changed

.circleci/config.yml

+4-36
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,11 @@ version: 2.1
88
# See: https://circleci.com/docs/2.0/orb-intro/
99
orbs:
1010
android: circleci/[email protected]
11-
12-
# Define a job to be invoked later in a workflow.
13-
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
11+
1412
jobs:
15-
# Below is the definition of your job to build and test your app, you can rename and customize it as you want.
16-
build-and-test:
17-
# These next lines define the Android machine image executor.
18-
# See: https://circleci.com/docs/2.0/executor-types/
19-
executor:
20-
name: android/android-machine
21-
22-
# Add steps to the job
23-
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
13+
build:
14+
executor: android/android
2415
steps:
25-
# Checkout the code as the first step.
2616
- checkout
2717
- restore_cache:
2818
key: android-orb-v1-
@@ -50,26 +40,4 @@ jobs:
5040
path: app/build/test-results
5141
- store_artifacts:
5242
path: app/build/outputs/apk/debug/
53-
destination: artifact-file
54-
# The next step will run the unit tests
55-
- android/run-tests:
56-
test-command: ./gradlew lint testDebug --continue
57-
58-
# Then start the emulator and run the Instrumentation tests!
59-
- android/start-emulator-and-run-tests:
60-
test-command: ./gradlew connectedDebugAndroidTest
61-
system-image: system-images;android-25;google_apis;x86
62-
63-
# And finally run the release build
64-
- run:
65-
name: Assemble release build
66-
command: |
67-
./gradlew assembleRelease
68-
69-
# Invoke jobs via workflows
70-
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
71-
workflows:
72-
sample: # This is the name of the workflow, feel free to change it to better match your workflow.
73-
# Inside the workflow, you define the jobs you want to run.
74-
jobs:
75-
- build-and-test
43+
destination: artifact-file

0 commit comments

Comments
 (0)