Skip to content

Commit

Permalink
Merge pull request #569 from lostapathy/bump_travis
Browse files Browse the repository at this point in the history
Update ruby, rails version for travis builds
  • Loading branch information
rafaelfranca committed Nov 2, 2018
2 parents c034d2d + 5536a59 commit bd91b03
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .travis.yml
Expand Up @@ -5,14 +5,16 @@ rvm:
- 1.9.3 # when removed, get rid of the before_script hack and also the one in application_generator.rb
- 2.0.0
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
- 2.2.10
- 2.3.7
- 2.4.4
- 2.5.1
- ruby-head
env:
- RAILS_VERSION="~> 4.2.0"
- RAILS_VERSION="~> 5.0.0"
- RAILS_VERSION="~> 5.1.0"
- RAILS_VERSION="~> 5.2.0"
matrix:
exclude: # Rails 5 is incompatible with Ruby < 2.2.2
- rvm: 1.9.3
Expand All @@ -27,6 +29,12 @@ matrix:
env: RAILS_VERSION="~> 5.1.0"
- rvm: 2.1.10
env: RAILS_VERSION="~> 5.1.0"
- rvm: 1.9.3
env: RAILS_VERSION="~> 5.2.0"
- rvm: 2.0.0
env: RAILS_VERSION="~> 5.2.0"
- rvm: 2.1.10
env: RAILS_VERSION="~> 5.2.0"
allow_failures:
- rvm: ruby-head
fast_finish: true
Expand Down
2 changes: 1 addition & 1 deletion lib/spring/test/application_generator.rb
Expand Up @@ -48,7 +48,7 @@ def generate_files

@version = RailsVersion.new(`ruby -e 'puts Gem::Specification.find_by_name("rails", "#{version_constraint}").version'`.chomp)

skips = %w(--skip-bundle --skip-javascript --skip-sprockets --skip-spring)
skips = %w(--skip-bundle --skip-javascript --skip-sprockets --skip-spring --skip-listen --skip-system-test)

system("rails _#{version}_ new #{application.root} #{skips.join(' ')}")
raise "application generation failed" unless application.exists?
Expand Down

0 comments on commit bd91b03

Please sign in to comment.