Skip to content

Commit

Permalink
Fix travis ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
florentferry committed Jul 6, 2018
1 parent f7d85c9 commit ed6b3af
Show file tree
Hide file tree
Showing 19 changed files with 934 additions and 48 deletions.
10 changes: 6 additions & 4 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ AllCops:
TargetRubyVersion: 2.2
DisabledByDefault: true
Exclude:
- 'node_modules/**/*'
- 'vendor/**/*'
- 'tmp/**/*'
- 'fixtures/**/*'
- node_modules/**/*
- vendor/**/*
- tmp/**/*
- fixtures/**/*
- Appraisals
- gemfiles/**/*

Gemspec/OrderedDependencies:
Enabled: true
Expand Down
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ rvm:
- ruby-head

gemfile:
- Gemfile-rails.4.2.x
- Gemfile-rails.5.0.x
- Gemfile-rails.5.1.x
- Gemfile-rails.5.2.x
- gemfiles/rails_4.2.x.gemfile
- gemfiles/rails_5.0.x.gemfile
- gemfiles/rails_5.1.x.gemfile
- gemfiles/rails_5.2.x.gemfile

cache:
bundler: true
Expand Down
15 changes: 15 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
appraise "rails-4.2.x" do
gem "rails", "~> 4.2"
end

appraise "rails-5.0.x" do
gem "rails", "~> 5.0"
end

appraise "rails-5.1.x" do
gem "rails", "~> 5.1"
end

appraise "rails-5.2.x" do
gem "rails", "~> 5.2"
end
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ gemspec
gem "rails"
gem "rake", ">= 11.1"
gem "rubocop", require: false
gem "webpacker"

group :test do
gem "aruba"
Expand Down
8 changes: 0 additions & 8 deletions fixtures/my_app/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,14 @@
# preloads Rails for running tests, you may have to set it to true.
config.eager_load = false

# Configure public file server for tests with Cache-Control for performance.
config.public_file_server.enabled = true
config.public_file_server.headers = {
'Cache-Control' => "public, max-age=#{1.hour.seconds.to_i}"
}

# Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false

# Raise exceptions instead of rendering exception templates.
config.action_dispatch.show_exceptions = false

# Disable request forgery protection in test environment.
config.action_controller.allow_forgery_protection = false
config.action_mailer.perform_caching = false

# Tell Action Mailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
Expand Down
2 changes: 2 additions & 0 deletions gemfiles/.bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
BUNDLE_RETRY: "1"
8 changes: 0 additions & 8 deletions gemfiles/Gemfile-rails.4.2.x

This file was deleted.

8 changes: 0 additions & 8 deletions gemfiles/Gemfile-rails.5.0.x

This file was deleted.

8 changes: 0 additions & 8 deletions gemfiles/Gemfile-rails.5.1.x

This file was deleted.

8 changes: 0 additions & 8 deletions gemfiles/Gemfile-rails.5.2.x

This file was deleted.

17 changes: 17 additions & 0 deletions gemfiles/rails_4.2.x.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 4.2"
gem "rake", ">= 11.1"
gem "rubocop", require: false
gem "webpacker"

group :test do
gem "aruba"
gem "cucumber"
gem "simplecov", require: false
gem "coveralls", require: false
end

gemspec path: "../"
202 changes: 202 additions & 0 deletions gemfiles/rails_4.2.x.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
PATH
remote: ..
specs:
komponent (2.2.0)
actionview (>= 4.2)
activesupport (>= 4.2)
railties (>= 4.2)
webpacker (>= 3.0.0)

GEM
remote: https://rubygems.org/
specs:
actionmailer (4.2.10)
actionpack (= 4.2.10)
actionview (= 4.2.10)
activejob (= 4.2.10)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.10)
actionview (= 4.2.10)
activesupport (= 4.2.10)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.10)
activesupport (= 4.2.10)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (4.2.10)
activesupport (= 4.2.10)
globalid (>= 0.3.0)
activemodel (4.2.10)
activesupport (= 4.2.10)
builder (~> 3.1)
activerecord (4.2.10)
activemodel (= 4.2.10)
activesupport (= 4.2.10)
arel (~> 6.0)
activesupport (4.2.10)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
appraisal (2.2.0)
bundler
rake
thor (>= 0.14.0)
arel (6.0.4)
aruba (0.14.6)
childprocess (>= 0.6.3, < 0.10.0)
contracts (~> 0.9)
cucumber (>= 1.3.19)
ffi (~> 1.9.10)
rspec-expectations (>= 2.99)
thor (~> 0.19)
ast (2.4.0)
backports (3.11.3)
builder (3.2.3)
childprocess (0.9.0)
ffi (~> 1.0, >= 1.0.11)
concurrent-ruby (1.0.5)
contracts (0.16.0)
coveralls (0.8.22)
json (>= 1.8, < 3)
simplecov (~> 0.16.1)
term-ansicolor (~> 1.3)
thor (~> 0.19.4)
tins (~> 1.6)
crass (1.0.4)
cucumber (3.1.1)
builder (>= 2.1.2)
cucumber-core (~> 3.1.0)
cucumber-expressions (~> 6.0.0)
cucumber-wire (~> 0.0.1)
diff-lcs (~> 1.3)
gherkin (~> 5.1.0)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.2)
cucumber-core (3.1.0)
backports (>= 3.8.0)
cucumber-tag_expressions (~> 1.1.0)
gherkin (>= 5.0.0)
cucumber-expressions (6.0.1)
cucumber-tag_expressions (1.1.1)
cucumber-wire (0.0.1)
diff-lcs (1.3)
docile (1.3.1)
erubis (2.7.0)
ffi (1.9.25)
gherkin (5.1.0)
globalid (0.4.1)
activesupport (>= 4.2.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.1)
json (2.1.0)
loofah (2.2.2)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.0)
mini_mime (>= 0.1.1)
mini_mime (1.0.0)
mini_portile2 (2.3.0)
minitest (5.11.3)
multi_json (1.13.1)
multi_test (0.1.2)
nokogiri (1.8.4)
mini_portile2 (~> 2.3.0)
parallel (1.12.1)
parser (2.5.1.0)
ast (~> 2.4.0)
powerpack (0.1.2)
rack (1.6.10)
rack-proxy (0.6.4)
rack
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.10)
actionmailer (= 4.2.10)
actionpack (= 4.2.10)
actionview (= 4.2.10)
activejob (= 4.2.10)
activemodel (= 4.2.10)
activerecord (= 4.2.10)
activesupport (= 4.2.10)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.10)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.9)
activesupport (>= 4.2.0, < 5.0)
nokogiri (~> 1.6)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.4)
loofah (~> 2.2, >= 2.2.2)
railties (4.2.10)
actionpack (= 4.2.10)
activesupport (= 4.2.10)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rainbow (3.0.0)
rake (12.3.1)
rspec-expectations (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-support (3.7.1)
rubocop (0.57.2)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.5)
powerpack (~> 0.1)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.9.0)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
term-ansicolor (1.6.0)
tins (~> 1.0)
thor (0.19.4)
thread_safe (0.3.6)
tins (1.16.3)
tzinfo (1.2.5)
thread_safe (~> 0.1)
unicode-display_width (1.4.0)
webpacker (3.5.3)
activesupport (>= 4.2)
rack-proxy (>= 0.6.1)
railties (>= 4.2)

PLATFORMS
ruby

DEPENDENCIES
appraisal
aruba
bundler (~> 1.15)
coveralls
cucumber
komponent!
rails (~> 4.2)
rake (>= 11.1)
rubocop
simplecov
webpacker

BUNDLED WITH
1.16.0
17 changes: 17 additions & 0 deletions gemfiles/rails_5.0.x.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 5.0"
gem "rake", ">= 11.1"
gem "rubocop", require: false
gem "webpacker"

group :test do
gem "aruba"
gem "cucumber"
gem "simplecov", require: false
gem "coveralls", require: false
end

gemspec path: "../"

0 comments on commit ed6b3af

Please sign in to comment.