Update Travis CI config
This commit is contained in:
parent
864f75dc3c
commit
eea7ff3c92
18
.travis.yml
18
.travis.yml
|
@ -4,16 +4,22 @@ git:
|
|||
submodules: false
|
||||
before_install:
|
||||
- git submodule update --init --recursive
|
||||
script:
|
||||
- export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
|
||||
- export TERM=dumb
|
||||
before_script:
|
||||
- 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:
|
||||
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/
|
||||
|
|
2
extern/UnifiedNlpApi
vendored
2
extern/UnifiedNlpApi
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 25d8b478eb2497803ffb8c5c45d186adb6b64850
|
||||
Subproject commit a818694d1d27601d9f00d0fbf36f8eff7f6a15fd
|
|
@ -45,6 +45,12 @@ android {
|
|||
compileOptions {
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue