sudo: required
language: java
jdk:
    - oraclejdk8
    - oraclejdk9
matrix:
    exclude:
    - jdk: oraclejdk9
      env: RUNTIME=ol RUNTIME_VERSION=18.0.0.3
    - jdk: oraclejdk9
      env: RUNTIME=wlp RUNTIME_VERSION=18.0.0.3
env:
    - RUNTIME=wlp RUNTIME_VERSION=18.0.0.2
    - RUNTIME=wlp RUNTIME_VERSION=18.0.0.3
    - RUNTIME=ol RUNTIME_VERSION=18.0.0.2
    - RUNTIME=ol RUNTIME_VERSION=18.0.0.3
before_install:
    - echo 'Installing ci.common lib ....'
    - git clone https://github.com/wasdev/ci.common.git ./ci.common
    - cd ./ci.common
    - mvn clean install
    - cd ..
script:
  - export GRADLE_OPTS="-Dorg.gradle.daemon=true -Dorg.gradle.jvmargs='-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m'"
  - travis_wait ./gradlew install integrationTest -Druntime=$RUNTIME -DruntimeVersion=$RUNTIME_VERSION --stacktrace --info --no-daemon
dist: trusty

sudo: required
language: java
os:
    - windows
    - linux
    - osx
jdk:
    - oraclejdk8
    - oraclejdk9
matrix:
    exclude:
    - jdk: oraclejdk9
      env: RUNTIME=ol RUNTIME_VERSION=18.0.0.3
    - jdk: oraclejdk9
      env: RUNTIME=wlp RUNTIME_VERSION=18.0.0.3
env:
    - RUNTIME=wlp RUNTIME_VERSION=18.0.0.2
    - RUNTIME=wlp RUNTIME_VERSION=18.0.0.3
    - RUNTIME=ol RUNTIME_VERSION=18.0.0.2
    - RUNTIME=ol RUNTIME_VERSION=18.0.0.3
before_install:
    - echo 'Installing ci.common lib ....'
    - git clone https://github.com/wasdev/ci.common.git ./ci.common
    - cd ./ci.common
    - mvn clean install
    - cd ..
script:
  - export GRADLE_OPTS="-Dorg.gradle.daemon=true -Dorg.gradle.jvmargs='-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m'"
  - travis_wait ./gradlew install integrationTest -Druntime=$RUNTIME -DruntimeVersion=$RUNTIME_VERSION --stacktrace --info --no-daemon
dist: trusty

Test on Windows and Mac
Test on Windows and Mac
