add travis jdk 1.8 support