-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
26 lines (24 loc) · 890 Bytes
/
circle.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
machine:
environment:
ANDROID_HOME: /usr/local/android-sdk-linux
dependencies:
pre:
- echo y | android update sdk --no-ui --all --filter "tools,platform-tools,android-23"
- echo y | android update sdk --no-ui --all --filter "build-tools-23.0.2"
test:
override:
# start the emulator
- emulator -avd circleci-android22 -no-audio -no-window:
background: true
parallel: true
# Uncomment when tests wait for it to have booted
- circle-android wait-for-boot
# run tests against the emulator.
# ./gradlew assemble lint
# - ./gradlew clean
# - ./gradlew assembleDebug
- ./gradlew connectedAndroidTest
# copy the build outputs to artifacts
- cp -r app/build/outputs $CIRCLE_ARTIFACTS
# copy the test results to the test results directory.
- cp -r app/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORTS