aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-07-04 17:24:02 +0100
committerMike McQuaid2016-07-04 17:24:02 +0100
commit8bb315620ef33d5219516793f47d195b6fca7942 (patch)
treea90b3c041a17b5dcf92762112124ab43a1e27a84 /Library
parent26dcc9786d3f0a5633af7b471aa7ecb05dd22a41 (diff)
downloadbrew-8bb315620ef33d5219516793f47d195b6fca7942.tar.bz2
test-bot: don't test official commands on ruby 1.8.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/dev-cmd/test-bot.rb13
1 files changed, 8 insertions, 5 deletions
diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb
index 72b619f86..37378df3e 100644
--- a/Library/Homebrew/dev-cmd/test-bot.rb
+++ b/Library/Homebrew/dev-cmd/test-bot.rb
@@ -654,11 +654,14 @@ module Homebrew
ruby_two = RUBY_VERSION.split(".").first.to_i >= 2
if @tap.nil?
- test "brew", "tap", "caskroom/cask"
- test "brew", "tap", "homebrew/bundle"
- test "brew", "tap", "homebrew/services"
- tests_args = ["--official-cmd-taps"]
- tests_args << "--coverage" if ruby_two && ENV["TRAVIS"]
+ tests_args = []
+ if ruby_two
+ test "brew", "tap", "caskroom/cask"
+ test "brew", "tap", "homebrew/bundle"
+ test "brew", "tap", "homebrew/services"
+ tests_args << "--official-cmd-taps"
+ tests_args << "--coverage" if ENV["TRAVIS"]
+ end
test "brew", "tests", *tests_args
test "brew", "tests", "--no-compat"
test "brew", "readall", "--syntax"