tweaking travis config

This commit is contained in:
Mariotaku Lee 2017-03-04 15:16:44 +08:00
parent a1f9fea971
commit bbcad17a89
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
2 changed files with 7 additions and 1 deletions

View File

@ -72,7 +72,7 @@ before_script:
- test -f twidere/src/google/AndroidManifest.xml
script:
- ./gradlew -Pandroid.incrementalJavaCompile=false clean build
- ./gradlew clean build
deploy:
provider: releases

View File

@ -76,6 +76,12 @@ subprojects {
exclude 'META-INF/ASL2.0'
}
if (System.getenv('TRAVIS') == 'true') {
compileOptions {
incremental = false
}
}
if (android.hasProperty('buildTypes') && project.plugins.hasPlugin('com.android.application')) {
android.buildTypes.each { buildType ->
def file = rootProject.file('private/signing.properties')