зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-09-05 18:45:51 +03:00
Add rails-6 to build matrix
Этот коммит содержится в:
28
.travis.yml
28
.travis.yml
@@ -1,14 +1,28 @@
|
|||||||
language: ruby
|
language: ruby
|
||||||
cache: bundler
|
cache: bundler
|
||||||
rvm:
|
rvm:
|
||||||
- 2.5
|
- 2.5
|
||||||
- 2.4
|
- 2.4
|
||||||
- 2.3
|
|
||||||
gemfile:
|
gemfile:
|
||||||
- gemfiles/rails_52.gemfile
|
- gemfiles/rails_52.gemfile
|
||||||
- gemfiles/rails_51.gemfile
|
- gemfiles/rails_51.gemfile
|
||||||
- gemfiles/rails_50.gemfile
|
matrix:
|
||||||
- gemfiles/rails_42.gemfile
|
include:
|
||||||
|
# old rails
|
||||||
|
- rvm: 2.5
|
||||||
|
gemfile: gemfiles/rails_50.gemfile
|
||||||
|
- rvm: 2.5
|
||||||
|
gemfile: gemfiles/rails_42.gemfile
|
||||||
|
# old rubies
|
||||||
|
- rvm: 2.3
|
||||||
|
gemfile: gemfiles/rails_52.gemfile
|
||||||
|
# future rails
|
||||||
|
- rvm: 2.5
|
||||||
|
gemfile: gemfiles/rails_60.gemfile
|
||||||
|
# Allow rails 6 to fail while master branch is used
|
||||||
|
allow_failures:
|
||||||
|
- rvm: 2.5
|
||||||
|
gemfile: gemfiles/rails_60.gemfile
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
appraise 'rails-60' do
|
||||||
|
git 'https://github.com/rails/rails.git' do
|
||||||
|
gem 'actionpack', '~> 6.0.0.alpha'
|
||||||
|
gem 'railties', '~> 6.0.0.alpha'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
appraise 'rails-52' do
|
appraise 'rails-52' do
|
||||||
gem 'actionpack', '~> 5.2.0.beta2'
|
gem 'actionpack', '~> 5.2.0.beta2'
|
||||||
gem 'railties', '~> 5.2.0.beta2'
|
gem 'railties', '~> 5.2.0.beta2'
|
||||||
|
|||||||
23
gemfiles/rails_60.gemfile
Обычный файл
23
gemfiles/rails_60.gemfile
Обычный файл
@@ -0,0 +1,23 @@
|
|||||||
|
# This file was generated by Appraisal
|
||||||
|
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
git "https://github.com/rails/rails.git" do
|
||||||
|
gem "actionpack", "~> 6.0.0.alpha"
|
||||||
|
gem "railties", "~> 6.0.0.alpha"
|
||||||
|
end
|
||||||
|
|
||||||
|
group :development do
|
||||||
|
gem "appraisal", "~> 2.2"
|
||||||
|
gem "pry", "~> 0.10.1"
|
||||||
|
gem "pry-byebug", "~> 3.2.0"
|
||||||
|
gem "sdoc", "~> 0.4.1"
|
||||||
|
gem "telegram-bot-types", "~> 0.3.0"
|
||||||
|
gem "rspec", "~> 3.5.0"
|
||||||
|
gem "rspec-its", "~> 1.1.0"
|
||||||
|
gem "rspec-rails", "~> 3.5.0"
|
||||||
|
gem "rubocop", "~> 0.52.1"
|
||||||
|
gem "coveralls", "~> 0.8.2", require: false
|
||||||
|
end
|
||||||
|
|
||||||
|
gemspec path: "../"
|
||||||
Ссылка в новой задаче
Block a user