init travis.yml
add travis ci badge
separate method as refactoring
add code climate badge