Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .travis.yml to use JDK 17 and target SDK 34 #77

Merged

Update `.travis.yml` to use JDK 17 and target SDK 34

c477423
Select commit
Loading
Failed to load commit list.
Merged

Update .travis.yml to use JDK 17 and target SDK 34 #77

Update `.travis.yml` to use JDK 17 and target SDK 34
c477423
Select commit
Loading
Failed to load commit list.
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"
]
}
]
}
}