language: java

os: linux

dist: xenial

install: true

services:
    - xvfb

git:
    depth: false

addons:
    chrome: stable
    firefox: latest

before_script:
    - export DISPLAY=:99.0

jobs:
    include:
        - stage: Maven
          script: mvn verify
        - stage: Gradle
          script: ./gradlew test

language: java

os: linux

dist: xenial

install: true

jdk: oraclejdk8

services:
    - xvfb

git:
    depth: false

addons:
    chrome: stable
    firefox: latest

before_script:
    - export DISPLAY=:99.0

jobs:
    include:
        - stage: Maven
          script: mvn verify
        - stage: Gradle
          script: ./gradlew test

Revert "Remove jdk clause from Travis config"
Revert "Remove jdk clause from Travis config"

This reverts commit c0cca8d62a42b61589249228a93243f1e6bacbcf.
