Update .travis.yml
to use JDK 17 and target SDK 34
#77
Travis CI / Travis CI - Pull Request
failed
Jan 6, 2025 in 2m 55s
Build Failed
The build failed, just like the previous build.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #77 Update .travis.yml
to use JDK 17 and target SDK 34.
Any changes that have been made to the master branch before the build ran are also included.
Jobs and Stages
This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.
Build Configuration
Build Option | Setting |
---|---|
Language | Android |
Operating System | Linux (Xenial) |
JDK Version | oraclejdk17 |
Build Configuration
{
"language": "android",
"os": [
"linux"
],
"dist": "xenial",
"jdk": [
"oraclejdk17"
],
"android": {
"components": [
"extra-android-support",
"extra-google-m2repository",
"extra-android-m2repository"
]
},
"env": [
"global={:TARGET_VERSION=>\"34\"}={:ANDROID_BUILD_TOOLS_VERSION=>\"33.0.0\"}={:ANDROID_HOME=>\"~/android-sdk\"}"
],
"git": {
"submodules": false
},
"before_install": [
"touch $HOME/.android/repositories.cfg",
"wget \"https://dl.google.com/android/repository/commandlinetools-linux-7302050_latest.zip\" -O commandlinetools.zip",
"unzip commandlinetools.zip -d $ANDROID_HOME/",
"yes | $ANDROID_HOME/cmdline-tools/bin/sdkmanager \"platforms;android-${TARGET_VERSION}\" --sdk_root=$ANDROID_HOME",
"yes | $ANDROID_HOME/cmdline-tools/bin/sdkmanager \"build-tools;${ANDROID_BUILD_TOOLS_VERSION}\" --sdk_root=$ANDROID_HOME",
"sed --in-place -e \"s/[email protected]:/https:\\/\\/github.com\\//\" \".gitmodules\"",
"git submodule update --init --recursive",
"echo 'count=0' > /home/travis/.android/repositories.cfg"
],
"install": [
],
"before_script": [
],
"jobs": {
"include": [
{
"stage": "test",
"if": "branch = master AND type = pull_request",
"name": "Run Automated Tests: Master PR",
"script": [
"pushd LearningMachine",
"./gradlew clean testDevDebug -PdisablePreDex -PdevBuild --console=plain"
]
},
{
"stage": "build",
"if": "branch = master AND type = push",
"name": "Building Dev Debug build (unsigned) on $TRAVIS_BRANCH",
"script": [
"pushd LearningMachine",
"./gradlew clean assembleDevDebug -PdisablePreDex"
]
}
]
}
}
Loading