sudo: required

language: ruby

services:
  - docker

before_install:
  - docker build -t java/koans docker

script:
  - docker run java/koans /bin/bash -c "git clone https://github.com/matyb/java-koans && gradle -p java-koans/lib buildApp"

sudo: required

language: ruby

services:
  - docker

before_install:
  - docker build -t java/koans docker

script:
  - docker run java/koans /bin/bash -c "git clone https://github.com/matyb/java-koans && gradle -p java-koans/lib buildApp"

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

Improve Travis CI build Performance
Improve Travis CI build Performance