Rubocop fixes and add .travis.yml file