language: java

sudo: false

services:
  - docker

jdk:
  - oraclejdk8

addons:
  apt:
    packages:
      - rpm
      - oracle-java8-installer

cache:
  directories:
    - $HOME/.m2/repository/com
    - $HOME/.m2/repository/io
    - $HOME/.m2/repository/it
    - $HOME/.m2/repository/org
    - $HOME/.m2/repository/mysql

script:
  - mvn test -P ci -B javadoc:javadoc

language: java

sudo: false

services:
  - docker

jdk:
  - oraclejdk8

addons:
  apt:
    packages:
      - rpm
      - oracle-java8-installer

cache:
  directories:
    - $HOME/.m2/repository/com
    - $HOME/.m2/repository/io
    - $HOME/.m2/repository/it
    - $HOME/.m2/repository/org
    - $HOME/.m2/repository/mysql

before_install:
  - rm -f ~/.m2/settings.xml

script:
  - mvn test -P ci -B javadoc:javadoc

Remove Maven settings file on Travis
Remove Maven settings file on Travis

This file contains many obsolete repositories and is not needed.
