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/DavidWhitlock/java-koans && mvn install"

language: java
jdk:
  - oraclejdk8
sudo: false
script: "mvn install"

Revert changes from upstream repository to build the java-koans with Docker because they appear to only support building the master branch. That is, Travis could no longer build against a pull request.
Revert changes from upstream repository to build the java-koans with Docker because they appear to only support building the master branch.  That is, Travis could no longer build against a pull request.
