added .travis.yml to build for oracle and open jdk7