sudo: false
language: java
jdk:
  - oraclejdk7
  - oraclejdk8

env:
  - TERM=dumb

install:
  - ./gradlew --version

script:
  - ./gradlew --continue

before_cache:
  - git status
  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
  - rm -rf $HOME/.gradle/caches/*/plugin-resolution/

cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/
    - cnf/cache/stable/

sudo: false
language: java
jdk:
  - oraclejdk7
  - oraclejdk8

env:
  - TERM=dumb

install:
  - ./gradlew --version

script:
  - ./gradlew -Dmaven.repo.local=cnf/cache/stable/m2 --continue

before_cache:
  - git status
  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
  - rm -rf $HOME/.gradle/caches/*/plugin-resolution/

cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/
    - cnf/cache/stable/

Put m2 local cache in cnf/cache/stable so Travis can cache
build: Put m2 local cache in cnf/cache/stable so Travis can cache

Signed-off-by: BJ Hargrave <3d26bb3930946e3370762d769a073cece444c2d8@bjhargrave.com>
