sudo: true
language: groovy
before_install:
  - chmod +x travis/before_install.sh
  - travis/before_install.sh
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/
    - $HOME/.m2/repository/
    - $HOME/.lazybones/templates/
    - $HOME/.groovy/grapes/
services:
  docker
jdk:
  - openjdk7
  - oraclejdk8
  - openjdk8
script: "./gradlew check testTemplateMavenQuickstart"

language: groovy
before_install:
  - chmod +x travis/before_install.sh
  - travis/before_install.sh
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/
    - $HOME/.m2/repository/
    - $HOME/.lazybones/templates/
    - $HOME/.groovy/grapes/
services:
  docker
jdk:
  - openjdk7
  - oraclejdk8
  - openjdk8
script: "./gradlew check testTemplateMavenQuickstart"

Revert "Try to fix "template not found" on Travis-CI"
Revert "Try to fix "template not found" on Travis-CI"

This reverts commit cdd0fdc
