machine:
  java:
    version: oraclejdk8
  environment:
    GRADLE_OPTS: '-Xmx512m -XX:+UseG1GC -XX:+CMSClassUnloadingEnabled -XX:InitialCodeCacheSize=64M -XX:CodeCacheExpansionSize=1M -XX:CodeCacheMinimumFreeSpace=1M -XX:ReservedCodeCacheSize=200M -XX:MinMetaspaceExpansion=1M -XX:MaxMetaspaceExpansion=8M -XX:MaxMetaspaceSize=200M -XX:MaxDirectMemorySize=96M -XX:CompressedClassSpaceSize=256M -Xss1024K'
    JAVA_HOME: '/usr/lib/jvm/java-8-oracle'
    MALLOC_ARENA_MAX: '1'
    MALLOC_MMAP_THRESHOLD_: '131072'
    MALLOC_TRIM_THRESHOLD_: '131072'
    MALLOC_TOP_PAD_: '131072'
    MALLOC_MMAP_MAX_: '65536'
dependencies:
  pre:
    - sudo add-apt-repository -y ppa:webupd8team/java
    - sudo apt-get update
    - echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections
    - sudo apt-get install -y oracle-java8-installer
    - sudo update-java-alternatives -s java-8-oracle
    - javac -version
    - echo $JAVA_HOME
test:
  override:
    - gradle test:
        timeout: 1200

machine:
  java:
    version: oraclejdk8
  environment:
    GRADLE_OPTS: '-Xmx512m -XX:+UseG1GC -XX:+CMSClassUnloadingEnabled -XX:InitialCodeCacheSize=64M -XX:CodeCacheExpansionSize=1M -XX:CodeCacheMinimumFreeSpace=1M -XX:ReservedCodeCacheSize=200M -XX:MinMetaspaceExpansion=1M -XX:MaxMetaspaceExpansion=8M -XX:MaxMetaspaceSize=200M -XX:MaxDirectMemorySize=96M -XX:CompressedClassSpaceSize=256M -Xss1024K'
    JAVA_HOME: '/usr/lib/jvm/java-8-oracle'
    MALLOC_ARENA_MAX: '1'
    MALLOC_MMAP_THRESHOLD_: '131072'
    MALLOC_TRIM_THRESHOLD_: '131072'
    MALLOC_TOP_PAD_: '131072'
    MALLOC_MMAP_MAX_: '65536'
dependencies:
  pre:
    - sudo add-apt-repository -y ppa:webupd8team/java
    - sudo apt-get update
    - echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections
    - sudo apt-get install -y oracle-java8-installer
    - sudo update-java-alternatives -s java-8-oracle
    - javac -version
    - echo $JAVA_HOME

Revert "Increase 'gradle test' timeout on Circle CI"
Revert "Increase 'gradle test' timeout on Circle CI"

This reverts commit c1c665c0ea50ff8794742c6ad1672327aae1adc1.
