language: java

jdk:
  - openjdk8
  - openjdk11

cache:
  directories:
  - $HOME/.m2
  - $HOME/.npm
  - node_modules

dist: xenial

services:
  - xvfb

addons:
  chrome: stable
  firefox: latest
  apt:
    packages:
      - graphviz

# disables the default install step which is mvn install skipping tests
install: true

script: mvn -B verify -P code-coverage

