language: java
jdk:
  - oraclejdk8
  
before_install:
  - rm -rf ~/.linuxbrew
  - yes | ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
  - export PATH="$HOME/.linuxbrew/bin:$PATH"
  - export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
  - export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
  - brew install jdk
  - export JAVA_HOME=/home/travis/.linuxbrew/Cellar/jdk/1.8.0-40
  
install:
  - mvn install -DskipTests=true -DskipUnitTests=true

script:
  - mvn test -Dgrinder.display.tree.util.ui=false -Dtrace.level=off -Djustification.level=off

language: java
jdk:
  - oraclejdk8
  
install:
  - mvn install -DskipTests=true -DskipUnitTests=true

script:
  - mvn test -Dgrinder.display.tree.util.ui=false -Dtrace.level=off -Djustification.level=off

Remove jdk 8.40 before install logic
Remove jdk 8.40 before install logic

Appears to have stopped working, will wait instead for Travis machines to upgrade to >= 8.40