forked from wordpress-mobile/WordPress-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
25 lines (23 loc) · 809 Bytes
/
Copy pathcircle.yml
File metadata and controls
25 lines (23 loc) · 809 Bytes
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
machine:
java:
version: oraclejdk8
environment:
# Java options
JAVA_OPTS: "-Xms512m -Xmx2048m"
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
dependencies:
pre:
- echo y | android update sdk --no-ui --all --filter android-24
- echo y | android update sdk --no-ui --all --filter build-tools-24.0.2
test:
pre:
- emulator -avd circleci-android17 -no-audio -no-window:
background: true
parallel: true
- circle-android wait-for-boot
override:
- ./gradlew clean assembleVanillaDebug -PdisablePreDex:
timeout: 1000
# copy the build outputs to artifacts
- ./gradlew connectedCheck || (grep -A20 -B2 'severity="Error"' WordPress/build/outputs/lint-results-vanillaDebug.xml; exit 1):
timeout: 1000