language: java

jdk:
  - oraclejdk7

services:
  - mongodb

before_script:
  - sleep 15
  - mongo gfk --eval 'db.addUser("gfk", "password");'

install:
  - gradle clean build -Pdb.uri=mongodb://127.0.0.1/gfk -Pdb.username=gfk -Pdb.password=password
language: java

jdk:
  - oraclejdk7

services:
  - mongodb

before_script:
  - sleep 15
  - mongo gfk --eval 'db.addUser("gfk", "password");'

install:
  - gradle clean build -Pdb.uri=mongodb://127.0.0.1/gfk -Pdb.username=gfk -Pdb.password=password --stacktrace
Add --stacktrace to gradle build command
Add --stacktrace to gradle build command

This provide us with more information about the failure.

gh-4
