forked from lostzen/lost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
32 lines (29 loc) · 1.15 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
30
31
32
machine:
java:
version: oraclejdk8
environment:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
dependencies:
pre:
- if [ ! -e /usr/local/android-sdk-linux/build-tools/26.0.2 ]; then echo y | android update sdk --all --no-ui --filter "build-tools-26.0.2"; fi;
- if [ ! -e /usr/local/android-sdk-linux/platforms/android-26 ]; then echo y | android update sdk --all --no-ui --filter "android-26"; fi;
- if ! $(grep -q "Revision=47.0.0" /usr/local/android-sdk-linux/extras/android/m2repository/source.properties); then echo y | android update sdk --all --no-ui --filter "extra-android-m2repository"; fi;
cache_directories:
- /usr/local/android-sdk-linux/build-tools/26.0.2
- /usr/local/android-sdk-linux/platforms/android-26
- /usr/local/android-sdk-linux/extras/android/m2repository
test:
override:
- ./gradlew -PdisablePreDex
deployment:
master:
branch: master
commands:
- scripts/deploy-snapshot.sh
- scripts/release.sh
- scripts/deploy-javadocs.sh
release:
tag: /lost-[0-9]+(\.[0-9]+)*(-rc[0-9])?/
owner: mapzen
commands:
- scripts/deploy-staging.sh