From 63b455a69a35a3fc49aa022cb89bb8be94482591 Mon Sep 17 00:00:00 2001 From: Code Ass Date: Sun, 10 Sep 2017 11:01:23 +0900 Subject: [PATCH 1/3] Use "bundle exec" for "rake test" --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9b37060109..3e8837c474 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ rvm: env: global: NOBENCHMARK=1 -script: rake +script: bundle exec rake matrix: allow_failures: - rvm: jruby-9.1.13.0 From 35e8113291fe3c03f02526df89fb87464f53238f Mon Sep 17 00:00:00 2001 From: Code Ass Date: Sun, 10 Sep 2017 11:01:23 +0900 Subject: [PATCH 2/3] Remove JRuby from allow_failures --- .travis.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3e8837c474..9b0683bea1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,3 @@ env: global: NOBENCHMARK=1 script: bundle exec rake -matrix: - allow_failures: - - rvm: jruby-9.1.13.0 From a67b8bc9f51b65e314d4e8ff40da910912e00174 Mon Sep 17 00:00:00 2001 From: Code Ass Date: Sun, 10 Sep 2017 14:48:34 +0900 Subject: [PATCH 3/3] Skip a test on JRuby The test_accept_verbatim_nl_after_backslash is failed on JRuby because Ripper on JRuby fails to lexical analyse around escaped newline. I filed a issue for it: https://github.com/jruby/jruby/issues/4787 The "skip" should be removed after the issue is resolved. --- test/test_rdoc_markup_to_html.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_rdoc_markup_to_html.rb b/test/test_rdoc_markup_to_html.rb index fd8a7bb0ca..b5edeb04d2 100644 --- a/test/test_rdoc_markup_to_html.rb +++ b/test/test_rdoc_markup_to_html.rb @@ -452,6 +452,9 @@ def test_accept_verbatim_parseable_error end def test_accept_verbatim_nl_after_backslash + # TODO: Remove "skip" after the issue is resolved: https://github.com/jruby/jruby/issues/4787 + # This "skip" is for strange behavior around escaped newline on JRuby + skip if defined? JRUBY_VERSION verb = @RM::Verbatim.new("a = 1 if first_flag_var and \\\n", " this_is_flag_var\n") @to.start_accepting