Skip to content

Commit

Permalink
Merge pull request #60 from casperisfine/fix-ci
Browse files Browse the repository at this point in the history
Fix CI builds and add newer ruby versions
  • Loading branch information
kyrylo authored Oct 26, 2019
2 parents 7079cd7 + 6487a1e commit f7cdccb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
dist: trusty
bundler_args: "--verbose"
before_install:
- gem update --system
- which bundle || gem install bundler
- gem update bundler
rvm:
Expand All @@ -12,11 +11,13 @@ rvm:
- rbx-3
- jruby
- jruby-head
- 2.0.0
- 2.1
- 2.2
- 2.3
- 2.4.2
- "2.0"
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- ruby-head
matrix:
allow_failures:
Expand Down
2 changes: 1 addition & 1 deletion spec/method_source_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
@lambda_source = "MyLambda = lambda { :lambda }\n"
@proc_source = "MyProc = Proc.new { :proc }\n"
@hello_instance_evaled_source = " def hello_\#{name}(*args)\n send_mesg(:\#{name}, *args)\n end\n"
@hello_instance_evaled_source_2 = " def \#{name}_two()\n if 44\n 45\n end\n end\n"
@hello_instance_evaled_source_2 = " def \#{name}_two()\n if 40 + 4\n 45\n end\n end\n"
@hello_class_evaled_source = " def hello_\#{name}(*args)\n send_mesg(:\#{name}, *args)\n end\n"
@hi_module_evaled_source = " def hi_\#{name}\n @var = \#{name}\n end\n"
end
Expand Down
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ def hi_#{name}
M.instance_eval <<EOF, __FILE__, __LINE__ + 1
def #{name}_one()
if 43
if 40 + 3
44
end
end
def #{name}_two()
if 44
if 40 + 4
45
end
end
Expand Down

0 comments on commit f7cdccb

Please sign in to comment.