Add gemfile for Ruby2.2

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
Kenji Okimoto 2018-07-18 15:29:33 +09:00
parent cc895e7971
commit c2be1a70de
2 changed files with 43 additions and 5 deletions

View File

@ -12,14 +12,24 @@ rvm:
- 2.3.7 - 2.3.7
- 2.2.10 - 2.2.10
gemfile:
- Gemfile
- gemfiles/ruby2.2.gemfile
matrix:
exclude:
- rvm: 2.2.10
gemfile: Gemfile
- rvm: 2.5.1
gemfile: gemfiles/ruby2.2.gemfile
- rvm: 2.4.4
gemfile: gemfiles/ruby2.2.gemfile
- rvm: 2.3.7
gemfile: gemfiles/ruby2.2.gemfile
before_install: before_install:
- google-chrome-stable --version - google-chrome-stable --version
- wget http://chromedriver.storage.googleapis.com/2.35/chromedriver_linux64.zip - wget http://chromedriver.storage.googleapis.com/2.35/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip - unzip chromedriver_linux64.zip
- sudo mv chromedriver /usr/local/bin/chromedriver - sudo mv chromedriver /usr/local/bin/chromedriver
install:
- bundle -v
- gem i bundler
- sudo sh -c 'curl -L https://toolbelt.treasuredata.com/sh/install-ubuntu-trusty-td-agent3.sh | sh' - sudo sh -c 'curl -L https://toolbelt.treasuredata.com/sh/install-ubuntu-trusty-td-agent3.sh | sh'
- bin/setup

28
gemfiles/ruby2.2.gemfile Normal file
View File

@ -0,0 +1,28 @@
source "https://rubygems.org"
group :development, :test do
gem "rake"
gem "pry"
gem "pry-rails"
gem "rspec-rails", "~> 3.0"
end
group :development do
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'i18n_generators', '2.1.1'
gem 'better_errors'
gem 'web-console', '~> 3.6'
gem 'binding_of_caller'
end
group :test do
gem "factory_bot_rails"
gem "capybara", "~> 3.1.1"
gem "capybara-screenshot"
gem "simplecov", "~> 0.16.1", require: false
gem "webmock", "~> 3.3.0"
gem "timecop"
gem "selenium-webdriver", "~> 3.12.0"
end
gemspec path: ".."