language: java

# We need Java 8, even though the source code is still Java 6, 
# because Checkstyle during build is Java 7+ only; and we use
# OpenJDK instead of Oracle JDK because ya all should only
# ever use OpenJDK!  (And get Red Hat's support for it, if
# you use it professionally.)
jdk: 
  - openjdk8

# Do *NOT* cache, see https://github.com/vorburger/MariaDB4j/issues/262
# cache:
#  directories:
#  - $HOME/.m2
#  - .mvn

before_install:
# TODO uncomment this when raising a PR to fix https://github.com/vorburger/MariaDB4j/issues/484
#  - mvn -f DBs/pom.xml clean install

# Run verify, not just package, to catch any failures of mariaDB4j-maven-plugin's integration test
script: mvn verify -B -V

dist: focal
language: java

# We use OpenJDK instead of Oracle JDK because ya all should only
# ever use OpenJDK!  (And get Red Hat's support for it, if
# you use it professionally.)
jdk: 
  - openjdk11

# Do *NOT* cache, see https://github.com/vorburger/MariaDB4j/issues/262
# cache:
#  directories:
#  - $HOME/.m2
#  - .mvn

before_install:
# TODO uncomment this when raising a PR to fix https://github.com/vorburger/MariaDB4j/issues/484
#  - mvn -f DBs/pom.xml clean install

# Run verify, not just package, to catch any failures of mariaDB4j-maven-plugin's integration test
script: mvn verify -B -V

Switch Travis CI from Java 8 to 11 and Ubuntu Xenial 16.04 to Focal 20.04
Switch Travis CI from Java 8 to 11 and Ubuntu Xenial 16.04 to Focal 20.04