fix travis build

This commit is contained in:
Flyinghead 2019-05-21 16:50:55 +02:00
parent 3d67d39187
commit 036b9b015a
3 changed files with 5 additions and 3 deletions

View File

@ -58,6 +58,7 @@ android {
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
/*
release {
debuggable false
minifyEnabled true
@ -65,6 +66,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
signingConfig signingConfigs.release
}
*/
}
flavorDimensions "systemtype"

View File

@ -1,7 +1,7 @@
#!/bin/bash
set -ev
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
./gradlew build --configure-on-demand
./gradlew build --configure-on-demand --console=plain
else
./gradlew assembleDebug --configure-on-demand
./gradlew assembleDebug --configure-on-demand --console=plain
fi

View File

@ -3,6 +3,6 @@ set -ev
echo travis release: pr = "${TRAVIS_PULL_REQUEST}" - branch = "${TRAVIS_BRANCH}"
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
if [ "${TRAVIS_BRANCH}" = "master" ]; then
./gradlew publishApkDreamcastRelease
./gradlew publishApkDreamcastRelease --console=plain
fi
fi