Add Travis CI configuration and codeclimate test coverage