forked from scottyab/secure-preferences
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
31 lines (26 loc) · 1.02 KB
/
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
27
28
29
30
31
# Build configuration file for Circle CI
# needs to be named `circle.yml` and should be in the top level dir of the repo
#general:
# artifacts:
# -/home/ubuntu/secure-preferences/build/outputs/reports/citest/connected
test:
# pre:
override:
# start the emulator
- emulator -avd circleci-android22 -no-audio -no-window:
background: true
parallel: true
# wait for it to have booted
- circle-android wait-for-boot
# run tests against the emulator.
- (echo "Running JUnit tests!")
- ./gradlew connectedAndroidTest
#- (./gradlew connectedAndroidTest)
# copy the build outputs to artifacts
- cp -r /home/ubuntu/secure-preferences/library/build/outputs $CIRCLE_ARTIFACTS
# copy the test results to the test results directory.
- cp -r /home/ubuntu/secure-preferences/library/build/reports/androidTests/* $CIRCLE_TEST_REPORTS
# - (./gradlew assembleDebug):
# timeout: 1200
# - (./gradlew assembleDebugTest):
# timeout: 1200