Update Travis CI config

This commit is contained in:
Marvin W 2016-02-08 03:25:20 +01:00
parent 864f75dc3c
commit eea7ff3c92
3 changed files with 19 additions and 7 deletions

View file

@ -4,16 +4,22 @@ git:
submodules: false submodules: false
before_install: before_install:
- git submodule update --init --recursive - git submodule update --init --recursive
script: before_script:
- export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
- export TERM=dumb
- echo sdk.dir $ANDROID_HOME > local.properties - echo sdk.dir $ANDROID_HOME > local.properties
- ./gradlew assembleDebug -x lint script:
- export TERM=dumb
- export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
- ./gradlew build
android: android:
components: components:
- platform-tools
- tools - tools
- build-tools-23.0.2 - build-tools-23.0.2
- android-23 - android-23
- extra-android-m2repository - extra-android-m2repository
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/

@ -1 +1 @@
Subproject commit 25d8b478eb2497803ffb8c5c45d186adb6b64850 Subproject commit a818694d1d27601d9f00d0fbf36f8eff7f6a15fd

View file

@ -45,6 +45,12 @@ android {
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_6 sourceCompatibility JavaVersion.VERSION_1_6
} }
lintOptions {
// TODO: Remove MissingTranslation once we have stable strings and proper translations.
// TODO: Remove ManifestResource once gradle build tools > 1.5.0 (Issue 194705)
disable 'MissingTranslation', 'ManifestResource'
}
} }
dependencies { dependencies {