forked from yigit/android-priority-jobqueue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
26 lines (26 loc) · 1.12 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
general:
build_dir: jobqueue
artifacts:
- "build/reports"
- "build/outputs"
# 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:
- ./gradlew check jacocoTestReport --no-daemon --stacktrace
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit-debug/
- find . -type f -regex ".*/test-results/debug/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit-debug/ \;
- mkdir -p $CIRCLE_TEST_REPORTS/junit-release/
- find . -type f -regex ".*/test-results/release/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit-release/ \;
- bash <(curl -s https://codecov.io/bash)
machine:
environment:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx3000m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$CIRCLE_ARTIFACTS/oom.hprof"'
java:
version: openjdk8
dependencies:
pre:
- echo y | android update sdk --no-ui --all --filter "tools,android-24,build-tools-24.0.0,platform-tools,extra-android-m2repository,extra-google-m2repository,extra-google-google_play_services"