language: java

dist: trusty

sudo: required

services:
  - docker
  - mysql

jdk:
  - oraclejdk8
  - oraclejdk11

before_install:
  - docker run -d -p 1521:1521 gautamsaggar/oracle11g:v2 || echo "WARNING - Unable to start Oracle 11g"
  - docker ps
  - mysql -e 'CREATE DATABASE axon;'

install: true

cache:
  directories:
  - $HOME/.m2

script:
  - mvn clean verify -B

notifications:
  slack:
    secure: d1HN9GBeH0e6EsHjNkPVXgBaFCYqbvjkZv9GUkpWnyjNYP5V1snSk6sO4X6ONttydgzfbElZTOfrgDzRTgWJ76iDMxAPccFPY7dmGcpw8/2TOjwP6H6yEitiiZcWR9fssTM2Li2WQtuGkwaVBhw15JNABzEsexxqXC+Cu48yUfA=

language: java

sudo: required

services:
  - docker
  - mysql

jdk:
  - openjdk8
  - openjdk11

before_install:
  - docker run -d -p 1521:1521 gautamsaggar/oracle11g:v2 || echo "WARNING - Unable to start Oracle 11g"
  - docker ps
  - mysql -e 'CREATE DATABASE axon;'

install: true

cache:
  directories:
  - $HOME/.m2

script:
  - mvn clean verify -B

notifications:
  slack:
    secure: d1HN9GBeH0e6EsHjNkPVXgBaFCYqbvjkZv9GUkpWnyjNYP5V1snSk6sO4X6ONttydgzfbElZTOfrgDzRTgWJ76iDMxAPccFPY7dmGcpw8/2TOjwP6H6yEitiiZcWR9fssTM2Li2WQtuGkwaVBhw15JNABzEsexxqXC+Cu48yUfA=

Change JDK versions from Oracle to OpenJDK
Change JDK versions from Oracle to OpenJDK

Change JDK versions from Oracle to OpenJDK, as the linked issue page
seems to suggest Travis will be doing this internally somewhere in the
future too:
https://travis-ci.community/t/cannot-install-oracle-jdk-11/3892
