Modified .travis.yml, tested by java7