-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
.travis.yml
28 lines (28 loc) · 923 Bytes
/
.travis.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
language: android
sudo: false
git:
submodules: false
before_script:
- echo sdk.dir $ANDROID_HOME > local.properties
- keytool -genkeypair -keyalg RSA -sigalg SHA1withRSA -alias testkey -keystore .keystore -keypass testkey -storepass testkey -dname "CN=Test"
- echo sign.storeFile=$(pwd)/.keystore >> local.properties
- echo sign.storePassword=testkey >> local.properties
- echo sign.keyAlias=testkey >> local.properties
- echo sign.keyPassword=testkey >> local.properties
script:
- export TERM=dumb
- export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
- ./gradlew build
android:
components:
- platform-tools
- tools
- build-tools-23.0.2
- android-23
- extra-android-m2repository
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/