we can now run all specs in one go

This commit is contained in:
Sven Fuchs 2016-06-19 15:09:58 +02:00
parent 0f1e697abd
commit c6f6dd5f5a
4 changed files with 6 additions and 15 deletions

View File

@ -96,7 +96,6 @@ PATH
remote: vendor remote: vendor
specs: specs:
travis-core (0.0.1) travis-core (0.0.1)
actionmailer (~> 3.2.19)
activerecord (~> 3.2.19) activerecord (~> 3.2.19)
coder (~> 0.4.0) coder (~> 0.4.0)
data_migrations (~> 0.0.1) data_migrations (~> 0.0.1)
@ -119,9 +118,6 @@ PATH
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actionmailer (3.2.22.2)
actionpack (= 3.2.22.2)
mail (~> 2.5.4)
actionpack (3.2.22.2) actionpack (3.2.22.2)
activemodel (= 3.2.22.2) activemodel (= 3.2.22.2)
activesupport (= 3.2.22.2) activesupport (= 3.2.22.2)
@ -230,9 +226,6 @@ GEM
logging (2.1.0) logging (2.1.0)
little-plugger (~> 1.1) little-plugger (~> 1.1)
multi_json (~> 1.10) multi_json (~> 1.10)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
memcachier (0.0.2) memcachier (0.0.2)
memoist (0.14.0) memoist (0.14.0)
metaclass (0.0.4) metaclass (0.0.4)
@ -253,7 +246,6 @@ GEM
net-http-pipeline (1.0.1) net-http-pipeline (1.0.1)
os (0.9.6) os (0.9.6)
pg (0.18.4) pg (0.18.4)
polyglot (0.3.5)
proxies (0.2.1) proxies (0.2.1)
pry (0.10.3) pry (0.10.3)
coderay (~> 1.1.0) coderay (~> 1.1.0)
@ -358,9 +350,6 @@ GEM
tool (0.2.3) tool (0.2.3)
travis-config (0.1.4) travis-config (0.1.4)
hashr (~> 0.0) hashr (~> 0.0)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.49) tzinfo (0.3.49)
uber (0.0.15) uber (0.0.15)
unicorn (5.1.0) unicorn (5.1.0)

View File

@ -25,6 +25,11 @@ end
# not sure how else to include the spec_helper # not sure how else to include the spec_helper
namespace :spec do namespace :spec do
desc 'Run all specs'
task :api do
sh 'bundle exec rspec -r spec_helper spec spec_core'
end
desc 'Run api specs' desc 'Run api specs'
task :api do task :api do
sh 'bundle exec rspec -r spec_helper spec' sh 'bundle exec rspec -r spec_helper spec'
@ -36,7 +41,7 @@ namespace :spec do
end end
end end
task :default => %w(spec:api spec:core) task :default => :'spec:all'
desc "generate gemspec" desc "generate gemspec"
task 'travis-api.gemspec' do task 'travis-api.gemspec' do

View File

@ -20,8 +20,6 @@ require 'travis/commit_command'
# events and send out such things as email, pusher, irc # events and send out such things as email, pusher, irc
# notifications, archive builds or queue jobs for the # notifications, archive builds or queue jobs for the
# workers. # workers.
# travis/mailer - contains ActionMailers for sending out email
# notifications
# #
# travis-core also contains some helper classes and modules like Travis::Database # travis-core also contains some helper classes and modules like Travis::Database
# (needed in travis-hub in order to connect to the database) and Travis::Renderer # (needed in travis-hub in order to connect to the database) and Travis::Renderer

View File

@ -19,7 +19,6 @@ Gem::Specification.new do |s|
s.add_dependency 'rake' s.add_dependency 'rake'
s.add_dependency 'thor' s.add_dependency 'thor'
s.add_dependency 'activerecord', '~> 3.2.19' s.add_dependency 'activerecord', '~> 3.2.19'
s.add_dependency 'actionmailer', '~> 3.2.19'
s.add_dependency 'railties', '~> 3.2.19' s.add_dependency 'railties', '~> 3.2.19'
s.add_dependency 'rollout', '~> 1.1.0' s.add_dependency 'rollout', '~> 1.1.0'
s.add_dependency 'coder', '~> 0.4.0' s.add_dependency 'coder', '~> 0.4.0'