Skip to content

Commit e9eed12

Browse files
author
Adam Spiers
committed
Make some gems development-only
We want the :development group to contain gems which are needed for interactive development but not for automated testing. This will allow us to exclude them from CI runs, to speed up the runs, and also work around that the listen gem isn't supported on old Rubies any more.
1 parent faad907 commit e9eed12

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ gemfile: crowbar_framework/Gemfile
1616

1717
install:
1818
- cd crowbar_framework
19-
- bin/bundle install
19+
- bin/bundle install --without development
2020
- bin/rake db:create db:migrate
2121

2222
script:

crowbar_framework/Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ gem "activeresource", "~> 4.0.0",
6060
require: "active_resource"
6161

6262
unless ENV["PACKAGING"] && ENV["PACKAGING"] == "yes"
63-
group :development, :test do
64-
gem "brakeman", "~> 2.6.3"
65-
gem "rspec-rails", "~> 3.3.0"
63+
group :development do
6664
gem "byebug", "~> 8.2.2"
6765
gem "derailed_benchmarks", "~> 1.3.0"
6866
gem "stackprof", "~> 0.2.8"
6967
end
7068

7169
group :test do
70+
gem "rspec-rails", "~> 3.3.0"
71+
gem "brakeman", "~> 2.6.3"
7272
gem "database_cleaner", "~> 1.4.1"
7373
gem "sinatra", "~> 1.4.5"
7474
gem "webmock", "~> 1.19.0"

0 commit comments

Comments
 (0)