change gradle settings via env
MODIFY
.travis.yml
.travis.yml
@@ -6,7 +6,7 @@ services:
env:
global:
- ANDROID_API=24
- - ANDROID_BUILD_TOOLS=25.0.3
+ - ANDROID_BUILD_TOOLS=28.0.3
- NODE_VERSION=7.0.0
before_cache:
@@ -35,7 +35,7 @@ matrix:
- os: linux
env: CORDOVA_PLATFORM="browser"
language: node_js
- - env: CORDOVA_PLATFORM="android" ANDROID_HOME=${HOME}/android-sdk
+ - env: CORDOVA_PLATFORM="android" ANDROID_HOME=${HOME}/android-sdk ORG_GRADLE_PROJECT_cdvMinSdkVersion=24 ORG_GRADLE_PROJECT_cdvCompileSdkVersion=24 ORG_GRADLE_PROJECT_cdvBuildToolsVersion=${ANDROID_BUILD_TOOLS}
os: linux
language: android
jdk: oraclejdk8
@@ -125,5 +125,5 @@ script:
done
fi
- if [[ "${CORDOVA_PLATFORM}" == "android" ]]; then
- node /tmp/paramedic/main.js --cleanUpAfterRun --platform android@6.1.2 --plugin '. --variable API_KEY_FOR_ANDROID=test';
+ node /tmp/paramedic/main.js --cleanUpAfterRun --platform android --plugin '. --variable API_KEY_FOR_ANDROID=test' -;
fi

change gradle settings via env