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

JAVA-3078: Provide support for building with Java 11 and Java 17 #1698

Closed
wants to merge 3 commits into from

update travis config to run full build + test with java 11 + 17

1ababf0
Select commit
Loading
Failed to load commit list.
Closed

JAVA-3078: Provide support for building with Java 11 and Java 17 #1698

update travis config to run full build + test with java 11 + 17
1ababf0
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Aug 18, 2023 in 30m 17s

Build Passed

The build passed.

Details

This is a normal build for the asf_cassandra_docker_image branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has three jobs, running in parallel.

Job JDK ENV OS State
13529.1 openjdk8 JDK='OpenJDK 8' Linux passed
13529.2 JDK='OpenJDK 11' Linux passed
13529.3 JDK='OpenJDK 17' Linux passed

Build Configuration

Build Option Setting
Language Java
Operating System Linux (Trusty)
Build Configuration
{
  "language": "java",
  "os": [
    "linux"
  ],
  "dist": "trusty",
  "sudo": false,
  "install": [
    "mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V"
  ],
  "script": [
    "mvn test -Djacoco.skip=true -Dmaven.test.failure.ignore=true -Dmaven.javadoc.skip=true -B -V"
  ],
  "cache": {
    "directories": [
      "$HOME/.m2"
    ]
  },
  "jobs": {
    "include": [
      {
        "env": [
          {
            "JDK": "'OpenJDK 8'"
          }
        ],
        "jdk": "openjdk8",
        "before_install": [
          "jdk_switcher use openjdk8",
          "./install-snapshots.sh"
        ]
      },
      {
        "env": [
          {
            "JDK": "'OpenJDK 11'"
          }
        ],
        "before_install": [
          ". $TRAVIS_BUILD_DIR/ci/install-jdk.sh -F 11 -L GPL",
          "./install-snapshots.sh"
        ]
      },
      {
        "env": [
          {
            "JDK": "'OpenJDK 17'"
          }
        ],
        "before_install": [
          ". $TRAVIS_BUILD_DIR/ci/install-jdk.sh -F 17 -L GPL",
          "./install-snapshots.sh"
        ]
      }
    ]
  }
}