Skip to content

Commit

Permalink
make tests run locally without random gems
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed May 7, 2019
1 parent 3ea2003 commit 230e546
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
/doc
/pkg
.idea
/Gemfile.lock
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ rvm:
- 2.5
- 2.6
script: rake travis
install: "" # avoid running default bundler install

matrix:
include:
Expand Down
15 changes: 15 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# -*- ruby -*-

# DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.

source "https://rubygems.org/"

gem "connection_pool", "~>2.2"

gem "minitest", "~>5.11", :group => [:development, :test]
gem "hoe-bundler", "~>1.5", :group => [:development, :test]
gem "hoe-travis", "~>1.4", ">=1.4.1", :group => [:development, :test]
gem "rdoc", ">=4.0", "<7", :group => [:development, :test]
gem "hoe", "~>3.17", :group => [:development, :test]

# vim: syntax=ruby
1 change: 1 addition & 0 deletions Manifest.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.autotest
.gemtest
.travis.yml
Gemfile
History.txt
Manifest.txt
README.rdoc
Expand Down
4 changes: 3 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- ruby -*-

require 'rubygems'
require 'hoe'

Hoe.plugin :bundler
Hoe.plugin :git
Hoe.plugin :minitest
Hoe.plugin :travis
Expand All @@ -22,6 +22,8 @@ Hoe.spec 'net-http-persistent' do

dependency 'connection_pool', '~> 2.2'
dependency 'minitest', '~> 5.2', :development
dependency 'hoe-bundler', '~> 1.5', :development
dependency 'hoe-travis', ['~> 1.4', '>= 1.4.1'], :development
dependency 'net-http-pipeline', '~> 1.0' if
ENV['TRAVIS_MATRIX'] == 'pipeline'
end
Expand Down

0 comments on commit 230e546

Please sign in to comment.