File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 11
11
- ruby-2.2.4
12
12
- ruby-2.2.2
13
13
- ruby-2.3.0-preview2
14
- - jruby-head
15
14
matrix :
16
15
exclude :
17
16
- os : linux
@@ -24,8 +23,9 @@ matrix:
24
23
rvm : ruby-2.0.0-p648
25
24
- os : osx
26
25
rvm : ruby-2.3.0-preview2
27
- env :
28
- - JRUBY_OPTS="-Xcli.debug=true --debug"
26
+ include :
27
+ - rvm : jruby-head
28
+ env : JRUBY_OPTS="-Xcli.debug=true --debug"
29
29
addons :
30
30
code_climate :
31
31
repo_token : 60d9731d654527cb53aabc7db15bcde87d701ddb6b1cba8fc0da6aba16d00bb1
@@ -44,3 +44,5 @@ install:
44
44
- bundle exec rake install
45
45
script :
46
46
- bundle exec rake spec
47
+ after_success :
48
+ - bundle exec codeclimate-test-reporter
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ require 'rubocop/rake_task'
6
6
7
7
RSpec ::Core ::RakeTask . new ( :spec ) do |spec |
8
8
spec . pattern = FileList [ 'spec/**/*_spec.rb' ] . uniq
9
- spec . rspec_opts = '--format documentation'
9
+ spec . rspec_opts = '--format documentation --color '
10
10
end
11
11
12
12
YARD ::Rake ::YardocTask . new ( :doc ) do |t |
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def method_missing(meth_id, *args)
65
65
# @return [true] for existing methods and
66
66
# #to_|term_name| when name is a valid terminal type.
67
67
# @return [false] otherwise
68
- def respond_to? ( meth_id )
68
+ def respond_to? ( meth_id , include_all = false )
69
69
# Next line is here to force iRuby use #to_iruby
70
70
# instead of #to_svg.
71
71
return super if defined? IRuby
Original file line number Diff line number Diff line change 3
3
require 'digest'
4
4
require 'chunky_png'
5
5
require 'digest/md5'
6
- SimpleCov . add_filter 'vendor'
7
- SimpleCov . add_filter 'examples'
8
- SimpleCov . formatter = CodeClimate :: TestReporter :: Formatter
9
- SimpleCov . start CodeClimate :: TestReporter . configuration . profile
6
+
7
+ SimpleCov . start do
8
+ add_filter 'examples'
9
+ end
10
10
11
11
require 'gnuplotrb'
12
12
You can’t perform that action at this time.
0 commit comments