-
Notifications
You must be signed in to change notification settings - Fork 25
/
circle.yml
29 lines (26 loc) · 1.03 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
machine:
java:
version: oraclejdk8
dependencies:
pre:
- if [ ! -e /usr/local/android-sdk-linux/build-tools/25.0.2 ]; then echo y | android update sdk --all --no-ui --filter "build-tools-25.0.2"; fi;
- if [ ! -e /usr/local/android-sdk-linux/platforms/android-25 ]; then echo y | android update sdk --all --no-ui --filter "android-25"; fi;
- if ! $(grep -q "Revision=43.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/25.0.2
- /usr/local/android-sdk-linux/platforms/android-25
- /usr/local/android-sdk-linux/extras/android/m2repository
test:
override:
- ./gradlew -PdisablePreDex
deployment:
master:
branch: master
commands:
- scripts/deploy-snapshot.sh
- scripts/release.sh
release:
tag: /on-the-road-[0-9]+(\.[0-9]+)*(-rc[0-9])?/
owner: mapzen
commands:
- scripts/deploy-staging.sh