TravisCI Ruby项目不与rspec一起工作
我有一个用Ruby编写的Logstash插件,它在TravisCI上开始失败,但它在本地工作。你知道这意味着什么吗TravisCI Ruby项目不与rspec一起工作,ruby,rspec,travis-ci,Ruby,Rspec,Travis Ci,我有一个用Ruby编写的Logstash插件,它在TravisCI上开始失败,但它在本地工作。你知道这意味着什么吗 $ bundle exec rspec spec The signal EXIT is in use by the JVM and will not work correctly on this platform Coverage may be inaccurate; set the "--debug" command line option, or do JRUBY_OPTS
$ bundle exec rspec spec
The signal EXIT is in use by the JVM and will not work correctly on this platform
Coverage may be inaccurate; set the "--debug" command line option, or do JRUBY_OPTS="--debug" or set the "debug.fullTrace=true" option in your .jrubyrc
W, [2016-12-02T14:12:20.127000 #5894] WARN -- : This usage of the Code Climate Test Reporter is now deprecated. Since version
1.0, we now require you to run `SimpleCov` in your test/spec helper, and then
run the provided `codeclimate-test-reporter` binary separately to report your
results to Code Climate.
More information here: https://github.com/codeclimate/ruby-test-reporter/blob/master/README.md
The command "bundle exec rspec spec" exited with 1.
从这里开始:
正如您在上看到的,您需要替换测试助手文件中的这些行(在我的示例中是spec/spec\u helper.rb
):
对于这些人:
require 'simplecov'
SimpleCov.start
此后,您还必须显式调用codeclimate test reporter
希望有帮助 正如您在上看到的,您需要替换测试助手文件中的这些行(在我的示例中是spec/spec\u helper.rb
):
对于这些人:
require 'simplecov'
SimpleCov.start
此后,您还必须显式调用codeclimate test reporter
希望有帮助