Skip to content

Commit 79f2715

Browse files
Merge pull request #108 from aggarwalpulkit596/master
Fix travis and circle ci error
2 parents 62dee3e + 3f05262 commit 79f2715

File tree

3 files changed

+34
-44
lines changed

3 files changed

+34
-44
lines changed

.circleci/config.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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 &
4548
script:
4649
- ./gradlew jacocoTestReport

circle.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)