Commit 14c1530d authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Rakefile] Add task to run regression tests

parent 94c3b6bb
......@@ -37,6 +37,7 @@ group :development do
gem 'diffy'
gem 'clintegracon'
gem 'rubocop'
cp_gem 'cocoapods-regression', 'cocoapods-regression'
end
group :debugging do
......
......@@ -47,6 +47,15 @@ GIT
cocoapods-plugins (0.4.2)
nap
GIT
remote: https://github.com/CocoaPods/cocoapods-regression.git
revision: a8408d39a1450dab526d1a3a2616276408594208
branch: master
specs:
cocoapods-regression (0.1.0)
cocoapods (~> 0.38.2)
xcode-install (~> 0.9.3)
GIT
remote: https://github.com/CocoaPods/cocoapods-stats.git
revision: ff4a97cfdf8fbe49c6dd33b595c8486749e631b9
......@@ -112,10 +121,19 @@ GEM
colored (1.2)
crack (0.4.2)
safe_yaml (~> 1.0.0)
credentials_manager (0.7.4)
colored
highline (>= 1.7.1)
security
diffy (3.0.7)
escape (0.0.4)
faraday (0.9.1)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.10.0)
faraday (>= 0.7.4, < 0.10)
ffi (1.9.6)
fuzzy_match (2.0.4)
highline (1.7.3)
i18n (0.7.0)
inch (0.5.10)
pry
......@@ -137,11 +155,14 @@ GEM
metaclass (~> 0.0.1)
mocha-on-bacon (0.2.2)
mocha (>= 0.13.0)
multi_xml (0.5.5)
multipart-post (2.0.0)
nap (0.8.0)
netrc (0.7.8)
notify (0.5.2)
parser (2.2.0.3)
ast (>= 1.1, < 3.0)
plist (3.1.0)
powerpack (0.1.0)
prettybacon (0.0.2)
bacon (~> 1.2)
......@@ -165,7 +186,14 @@ GEM
ruby-prof (0.15.2)
ruby-progressbar (1.7.1)
safe_yaml (1.0.4)
security (0.1.3)
slop (3.6.0)
spaceship (0.3.4)
credentials_manager (>= 0.5.0)
faraday (~> 0.9)
faraday_middleware (~> 0.9)
multi_xml (~> 0.5)
plist (~> 3.1)
sparkr (0.4.1)
term-ansicolor (1.3.0)
tins (~> 1.0)
......@@ -176,6 +204,9 @@ GEM
webmock (1.20.4)
addressable (>= 2.3.6)
crack (>= 0.3.2)
xcode-install (0.9.3)
claide (~> 0.9.1)
spaceship (~> 0.3.4)
yard (0.8.7.6)
PLATFORMS
......@@ -192,6 +223,7 @@ DEPENDENCIES
cocoapods-dependencies
cocoapods-downloader!
cocoapods-plugins!
cocoapods-regression!
cocoapods-stats!
cocoapods-trunk!
cocoapods-try!
......
......@@ -120,6 +120,14 @@ begin
sh 'bundle exec bacon spec/integration.rb'
end
desc 'Run the regression suite'
task :regression do
require 'cocoapods-regression'
CocoaPods::Regression.apps.each do |app|
CocoaPods::Regression.test!(app, 'bin/pod')
end
end
# Default task
#--------------------------------------#
#
......@@ -139,6 +147,11 @@ begin
title 'Running examples'
Rake::Task['examples:build'].invoke
if true || ENV['TRAVIS_PULL_REQUEST'] == 'false'
title 'Running regression tests'
Rake::Task['spec:regression'].invoke
end
title 'Running RuboCop'
Rake::Task['rubocop'].invoke
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment