forked from kobakei/Android-RateThisApp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
32 lines (29 loc) · 1002 Bytes
/
circle.yml
File metadata and controls
32 lines (29 loc) · 1002 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
26
27
28
29
30
31
32
machine:
java:
version: oraclejdk8
environment:
JAVA_OPTS: "-Xms256m -Xmx512m"
JAVA8_HOME: /usr/lib/jvm/jdk1.8.0
#dependencies:
# pre:
# - (while :; do echo 'y'; sleep 10; done) | android update sdk --no-ui --all --filter "tools,platform-tools,extra-android-support,extra-android-m2repository"
# - (while :; do echo 'y'; sleep 10; done) | android update sdk --no-ui --all --filter "build-tools-25.0.3"
dependencies:
pre:
- mkdir $ANDROID_HOME/licenses
- echo "8933bad161af4178b1185d1a37fbf41ea5269c55" >> $ANDROID_HOME/licenses/android-sdk-license
cache_directories:
- ~/.android
- ~/.gradle
override:
- ./gradlew dependencies
test:
override:
- ./gradlew test
deployment:
release:
tag: /\d\.\d{1,2}\.\d{1,2}/
owner: kobakei
commands:
- ./gradlew clean build bintrayUpload -PbintrayUser=$BINTRAY_USER -PbintrayKey=$BINTRAY_KEY -PdryRun=$BINTRAY_DRY_RUN
- cp -r ratethisapp/build/outputs $CIRCLE_ARTIFACTS