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:
  - sudo apt update
  - sudo apt -y install libncurses5
# 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:
  - sudo apt update
  - sudo apt remove mysql-server mysql-common
  - sudo apt install libncurses5 mariadb-server
# 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

Uninstall MySQL and install MariaDB on Travis CI
Uninstall MySQL and install MariaDB on Travis CI
