Use both JDK7 and JDK8 in Travis
Merge pull request #1164 from WonderCsabo/travisJdk8

Use both JDK7 and JDK8 in Travis