This repository was archived by the owner on Nov 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcircle.yml
More file actions
34 lines (31 loc) · 1.21 KB
/
circle.yml
File metadata and controls
34 lines (31 loc) · 1.21 KB
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
32
33
34
machine:
environment:
PATH: "~/$CIRCLE_PROJECT_REPONAME/gradle-2.13/bin:$PATH"
TERM: "dumb"
ADB_INSTALL_TIMEOUT: "30"
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
java:
version: oraclejdk8
dependencies:
pre:
- chmod +x gradlew
- echo y | android update sdk --no-ui --all --filter "platform-tools"
- echo y | android update sdk --no-ui --all --filter "tools"
- echo y | android update sdk --no-ui --all --filter "android-24"
- echo y | android update sdk --no-ui --all --filter "extra-google-m2repository"
- echo y | android update sdk --no-ui --all --filter "extra-android-m2repository"
- echo y | android update sdk --no-ui --all --filter "extra-android-support"
- echo y | android update sdk --no-ui --all --filter "sys-img-armeabi-v7a-android-22"
- echo y | android update sdk --no-ui --all --filter "build-tools-24.0.2"
test:
pre:
# 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
override:
# Run the script.
- sh script.sh
- pip install --user codecov && codecov