forked from kickstarter/android-oss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
33 lines (29 loc) · 824 Bytes
/
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
30
31
32
33
general:
artifacts:
- app/build/outputs
- app/build/reports
machine:
java:
version: oraclejdk8
environment:
ADB_INSTALL_TIMEOUT: 8
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx512m -XX:+HeapDumpOnOutOfMemoryError"'
dependencies:
override:
- $ANDROID_HOME/tools/android list target
- make bootstrap-circle
- echo y | android update sdk --no-ui --all --filter android-23,build-tools-23.0.1,extra-android-m2repository,extra-google-m2repository,extra-android-support
- ./gradlew dependencies
cache_directories:
- ~/.gradle
- ~/.android
test:
override:
- ./gradlew checkstyle
- ./gradlew lintExternalPre21Release
- ./gradlew assembleExternalPre21Release testExternalPre21Release -PdisablePreDex
experimental:
notify:
branches:
only:
- master