add codeclimate and travis-ci