language: java

dist: trusty
jdk: openjdk8

script: ./gradlew --info test

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/


language: java

dist: trusty
jdk: openjdk8

env:
   global:
   - _JAVA_OPTIONS="-Xmx1g"

script: ./gradlew --info test

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/


Set -Xmx1g for Travis builds
Set -Xmx1g for Travis builds
