-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
28 lines (25 loc) · 835 Bytes
/
circle.yml
File metadata and controls
28 lines (25 loc) · 835 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
machine:
java:
version: oraclejdk8
environment:
ANDROID_HOME: /usr/local/android-sdk-linux
JAVA_OPTS: "-Xms512m -Xmx1024m"
# TERM: "dumb"
# ADB_INSTALL_TIMEOUT: "10"
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
dependencies:
pre:
- echo y | android update sdk --no-ui --all --filter "platform-tools,android-23,build-tools-23.0.3"
cache_directories:
- ~/.android
override:
- ./gradlew dependencies -i
test:
override:
- ./gradlew clean build -i
deployment:
release:
tag: /[0-9]+(\.[0-9]+)*/
commands:
- ./gradlew curson:bintrayUpload -PbintrayUser=$BINTRAY_USER -PbintrayKey=$BINTRAY_API_KEY -PdryRun=false -i
- ./gradlew curson-compiler:bintrayUpload -PbintrayUser=$BINTRAY_USER -PbintrayKey=$BINTRAY_API_KEY -PdryRun=false -i