Skip to content

Commit

Permalink
Change Ruby 2.4.0 from allow failures to required.
Browse files Browse the repository at this point in the history
  • Loading branch information
junaruga committed Feb 26, 2017
1 parent 5b891d6 commit dfe49ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ sudo: false

matrix:
include:
- rvm: ruby-head
- rvm: 2.4.0
- rvm: 2.3.1
- rvm: 2.2
Expand All @@ -18,7 +19,8 @@ matrix:
- LANG=en_US.UTF-8
- LANGUAGE=en_US.UTF-8
allow_failures:
- rvm: 2.4.0
- rvm: ruby-head
fast_finish: true

# whitelist
branches:
Expand Down
5 changes: 4 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ RuboCop::RakeTask.new

task :default => [:spec, :rubocop, :cucumber]

if ENV['TRAVIS']
# Skip Ruby 2.4 until coveralls supports simplecov (>= 0.13.0)
# for Ruby 2.4 compatibility.
# https://rubygems.org/gems/coveralls
if ENV['TRAVIS'] && RUBY_VERSION < '2.4'
ENV['SIMPLECOV'] = 'ci'
ENV['JRUBY_OPTS'] = [ENV['JRUBY_OPTS'], '--debug'].compact.join(' ')

Expand Down

0 comments on commit dfe49ea

Please sign in to comment.