update jdk version to 1.6 and add travis-ci badge to README.md