From c8caa698ee9d9bdade2a435423d307c16898c747 Mon Sep 17 00:00:00 2001 From: Shane da Silva Date: Sat, 15 Oct 2016 00:09:29 -0700 Subject: [PATCH] Remove Travis pre-commit hook Travis now depends on net-http-persistent ~> 3 which requires Ruby >= 2.1. While Ruby 2.0 was EOLed in February 2016, it's still the default Ruby version to ship with Macs, so let's continue supporting it unless it's too much of a hassle. Travis lint isn't a terribly important tool, so remove it to remove the dependency. --- .overcommit.yml | 4 ---- Gemfile | 1 - 2 files changed, 5 deletions(-) diff --git a/.overcommit.yml b/.overcommit.yml index 89f2c8e5..98e60f0f 100644 --- a/.overcommit.yml +++ b/.overcommit.yml @@ -19,9 +19,5 @@ PreCommit: TrailingWhitespace: enabled: true - TravisLint: - enabled: true - flags: ['lint', '--skip-version-check'] - YamlSyntax: enabled: true diff --git a/Gemfile b/Gemfile index 4bd35b4e..2a847f2d 100644 --- a/Gemfile +++ b/Gemfile @@ -9,6 +9,5 @@ gem 'overcommit', '0.36.0' # Pin tool versions (which are executed by Overcommit) for Travis builds gem 'rubocop', '0.43.0' -gem 'travis', '~> 1.7' gem 'coveralls', require: false