# use java support.
language: java
jdk:
  - oraclejdk8

# run in container.
sudo: false

# install the newest jdk8.
addons:
  apt:
    packages:
      - oracle-java8-installer

# use operating systems.
os:
  - linux

# skip install stage.
install: true

# run maven build.
script:
  - mvn test

# use java support.
language: java
jdk:
  - oraclejdk8

# install the newest java.
addons:
  apt:
    packages:
      - oracle-java8-installer

# run in container.
sudo: false

# use linux as operating system.
os:
  - linux

# configure xvfb screen.
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

# skip install stage.
install: true

# run maven build.
script:
  - mvn test


Configure Xvfb (X virtual framebuffer) as display.
Travis: Configure Xvfb (X virtual framebuffer) as display.
