language: java
jdk:
- oraclejdk8
script: "./.ci/ci.sh"
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_cache:
  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
  directories:
  - $HOME/.gradle/caches/
  - $HOME/.gradle/wrapper/
  - build/p2asmaven/

language: java
jdk:
- openjdk8
script: "./.ci/ci.sh"
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_cache:
  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
  directories:
  - $HOME/.gradle/caches/
  - $HOME/.gradle/wrapper/
  - build/p2asmaven/

Switch to OpenJDK8 for Travis testing.
Switch to OpenJDK8 for Travis testing.