forked from VREMSoftwareDevelopment/WiFiAnalyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
30 lines (29 loc) · 1.18 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
27
28
29
general:
artifacts:
- "build/reports/jacoco"
machine:
java:
version: oraclejdk8
environment:
ANDROID_HOME: /usr/local/android-sdk-linux
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"'
dependencies:
pre:
- echo y | android update sdk --no-ui --all --filter tools
- echo y | android update sdk --no-ui --all --filter platform-tools
- echo y | android update sdk --no-ui --all --filter build-tools-25.0.3
- echo y | android update sdk --no-ui --all --filter android-25
- echo y | android update sdk --no-ui --all --filter extra-google-m2repository
- echo y | android update sdk --no-ui --all --filter extra-android-m2repository
- chmod +x gradlew
- ANDROID_HOME=/usr/local/android-sdk-linux ./gradlew dependencies
cache_directories:
- /usr/local/android-sdk-linux/tools
- /usr/local/android-sdk-linux/build-tools/23.0.3
test:
override:
- ./gradlew lint
- ./gradlew testDebugUnitTest
- ./gradlew jacocoTestDebugUnitTestReport
post:
- bash <(curl -s https://codecov.io/bash)