Browse Source

Android: travis build update for release package & sdk version

LouYihua 7 years ago
parent
commit
031d403249
2 changed files with 6 additions and 6 deletions
  1. 4 4
      .travis.yml
  2. 2 2
      android/app/build.gradle

+ 4 - 4
.travis.yml

@@ -53,8 +53,8 @@ matrix:
           components:
             - platform-tools
             - tools
-            - build-tools-25.0.2
-            - android-24
+            - build-tools-25.0.3
+            - android-25
             - extra-android-m2repository
         jdk: oraclejdk8
         before_install:
@@ -64,8 +64,8 @@ matrix:
           - export PATH=${PATH}:${ANDROID_NDK_HOME}
         script:
           - cd android
-          - ./gradlew assembleDebug
-          - mv app/build/outputs/apk/app-debug.apk ../deploy/sdlpal-debug.apk
+          - ./gradlew assembleRelease
+          - mv app/build/outputs/apk/app-release.apk ../deploy/sdlpal-release.apk
           - cd ..
 
       - os: osx

+ 2 - 2
android/app/build.gradle

@@ -1,8 +1,8 @@
 apply plugin: 'com.android.application'
 
 android {
-    compileSdkVersion 24
-    buildToolsVersion "25.0.2"
+    compileSdkVersion 25
+    buildToolsVersion "25.0.3"
 
     defaultConfig {
         applicationId "io.github.sdlpal"