File tree Expand file tree Collapse file tree 3 files changed +34
-44
lines changed
Expand file tree Collapse file tree 3 files changed +34
-44
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ jobs :
3+ build :
4+ working_directory : ~/code
5+ docker :
6+ - image : circleci/android:api-27-alpha
7+ environment :
8+ JVM_OPTS : -Xmx3200m
9+ steps :
10+ - checkout
11+ - restore_cache :
12+ key : jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
13+ - run :
14+ name : Chmod permissions # if permission for Gradlew Dependencies fail, use this.
15+ command : sudo chmod +x ./gradlew
16+ - run :
17+ name : Download Dependencies
18+ command : ./gradlew androidDependencies
19+ - save_cache :
20+ paths :
21+ - ~/.gradle
22+ key : jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
23+ - run :
24+ name : Run Build
25+ command : ./gradlew assembleDebug
26+ # - store_artifacts:
27+ # path: app/build/reports
28+ # destination: reports
29+ # - store_test_results:
30+ # path: app/build/test-results
31+ # See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ before_script:
4141 - echo no | android create avd --force -n test -t android-$EMULATOR_API --abi $ANDROID_ABI
4242 - emulator -avd test -no-skin -no-window &
4343 - android-wait-for-emulator
44+ - adb shell settings put global window_animation_scale 0 &
45+ - adb shell settings put global transition_animation_scale 0 &
46+ - adb shell settings put global animator_duration_scale 0 &
4447 - adb shell input keyevent 82 &
4548script :
4649 - ./gradlew jacocoTestReport
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments