Skip to content

Commit

Permalink
(maint) Add Ruby 2.4 to Travis
Browse files Browse the repository at this point in the history
 - Note that AppVeyor doesn't yet have Ruby 2.4, likely because the
   folks who maintain RubyInstaller haven't yet released a Windows
   installer for Ruby 2.4

 - This PR also updates Travis to run `gem update --system` because
   Rubygems 2.6.9 is required to install the Rainbow gem on Ruby 2.4.
   There may be a better solution to this problem - this is a quick
   spike to detect any spec failures.

   ku1ik/rainbow#44
  • Loading branch information
Iristyle committed Jan 25, 2017
1 parent 76ea81d commit b43f9db
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ language: ruby
sudo: false
before_install:
- gem install bundler -v 1.10
- gem update --system
bundler_args: --without development
script:
- "bundle exec rake $CHECK"
notifications:
email: false
rvm:
- 2.4.0
- 2.3.1
- 2.2.4
- 2.1.9
Expand All @@ -21,6 +23,8 @@ env:

matrix:
exclude:
- rvm: 2.4.0
env: "CHECK=rubocop"
- rvm: 2.3.1
env: "CHECK=rubocop"
- rvm: 2.2.4
Expand All @@ -29,6 +33,8 @@ matrix:
env: "CHECK=rubocop"
- rvm: 1.9.3
env: "CHECK=rubocop"
- rvm: 2.4.0
env: "CHECK=commits"
- rvm: 2.3.1
env: "CHECK=commits"
- rvm: 2.2.4
Expand Down

0 comments on commit b43f9db

Please sign in to comment.