language: java
sudo: required
before_install:
  - sudo apt-get -qq update || echo no sudo apt-get
  - sudo apt-get install -y libwebkitgtk-3.0-0 || echo no sudo apt-get
before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start || echo No X11
  - sleep 3
script:
  - jdk_switcher use oraclejdk8 || java -version
  - mvn install -DskipTests
  - mvn -f $TEST_SUITE-archetype-test verify
os:
  - linux
env:
  - TEST_SUITE=ko
  - TEST_SUITE=crud
  - TEST_SUITE=visual

language: java
jdk:
  - oraclejdk8
  - openjdk11
sudo: required
before_install:
  - sudo apt-get -qq update || echo no sudo apt-get
  - sudo apt-get install -y libwebkitgtk-3.0-0 || echo no sudo apt-get
before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start || echo No X11
  - sleep 3
script:
  - mvn install -DskipTests
  - mvn -f $TEST_SUITE-archetype-test verify
os:
  - linux
  - osx
env:
  - TEST_SUITE=ko
  - TEST_SUITE=crud
  - TEST_SUITE=visual

Enable tests on multiple platforms
Enable tests on multiple platforms