
language: java

jdk:
  - openjdk6

addons:
  apt:
    packages:
      - xorg-dev
      - libgtk-3-dev

script:
  ./gradlew check --info


language: java

jdk:
  - openjdk6

addons:
  apt:
    packages:
      - libgl1-mesa-swx11-dev

before_script:
  # Start virtual frame buffer, see: https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-GUI-(e.g.-a-Web-browser)
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start

script:
  ./gradlew check --info

Add Mesa so we can get OpenGL 2+ on the build server
Add Mesa so we can get OpenGL 2+ on the build server