diff options
| author | Xu Cheng | 2015-12-21 11:18:11 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-12-21 12:14:49 +0800 |
| commit | 28776ee1c342c4be755a597812d47d547238a08b (patch) | |
| tree | 70992f6d438dec14a4248c97cbff51c554784658 /Library | |
| parent | 51efa46fcc91f4cc635ed8b7bd77a0a35f7656b6 (diff) | |
| download | brew-28776ee1c342c4be755a597812d47d547238a08b.tar.bz2 | |
tests: add coveralls support
Closes Homebrew/homebrew#47185.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/.simplecov | 5 | ||||
| -rw-r--r-- | Library/Homebrew/test/Gemfile | 1 | ||||
| -rw-r--r-- | Library/Homebrew/test/Gemfile.lock | 20 |
3 files changed, 25 insertions, 1 deletions
diff --git a/Library/Homebrew/test/.simplecov b/Library/Homebrew/test/.simplecov index fb8298186..7989b1b43 100644 --- a/Library/Homebrew/test/.simplecov +++ b/Library/Homebrew/test/.simplecov @@ -23,3 +23,8 @@ if name = ENV["HOMEBREW_INTEGRATION_TEST"] exit! exit_code end end + +if RUBY_VERSION.split(".").first.to_i >= 2 && !ENV["HOMEBREW_INTEGRATION_TEST"] + require "coveralls" + Coveralls.wear! +end diff --git a/Library/Homebrew/test/Gemfile b/Library/Homebrew/test/Gemfile index b156aab8b..fb546a56a 100644 --- a/Library/Homebrew/test/Gemfile +++ b/Library/Homebrew/test/Gemfile @@ -4,3 +4,4 @@ gem "mocha", "~> 1.1" gem "minitest", "~> 5.3" gem "rake", "~> 10.3" gem "simplecov", "~> 0.10.0", :require => false +gem "coveralls", "0.8.9", :require => false diff --git a/Library/Homebrew/test/Gemfile.lock b/Library/Homebrew/test/Gemfile.lock index 9663a26c4..d897f0c9b 100644 --- a/Library/Homebrew/test/Gemfile.lock +++ b/Library/Homebrew/test/Gemfile.lock @@ -1,24 +1,42 @@ GEM remote: https://rubygems.org/ specs: + coveralls (0.8.9) + json (~> 1.8) + rest-client (>= 1.6.8, < 2) + simplecov (~> 0.10.0) + term-ansicolor (~> 1.3) + thor (~> 0.19.1) + tins (~> 1.6.0) docile (1.1.5) json (1.8.3) metaclass (0.0.4) - minitest (5.7.0) + mime-types (1.25.1) + minitest (5.8.3) mocha (1.1.0) metaclass (~> 0.0.1) rake (10.4.2) + rest-client (1.6.9) + mime-types (~> 1.16) simplecov (0.10.0) docile (~> 1.1.0) json (~> 1.8) simplecov-html (~> 0.10.0) simplecov-html (0.10.0) + term-ansicolor (1.3.2) + tins (~> 1.0) + thor (0.19.1) + tins (1.6.0) PLATFORMS ruby DEPENDENCIES + coveralls (= 0.8.9) minitest (~> 5.3) mocha (~> 1.1) rake (~> 10.3) simplecov (~> 0.10.0) + +BUNDLED WITH + 1.11.2 |
