Closed sayant1204 closed 3 years ago
In Travis-CI after the execution of command bundle exec rake coveralls:push
all the versions of ruby except 2.3 are giving the following errors -
daru-view.gemspec:9: warning: already initialized constant Daru::View::DESCRIPTION /home/travis/build/SciRuby/daru-view/daru-view.gemspec:9: warning: previous definition of DESCRIPTION was here mkdir -p vendor/assets/javascripts/googlecharts/ Coveralls encountered an exception: NoMethodError undefined method
coverage' for #<SimpleCov::SourceFile:0x00000001bff648> Did you mean? coverage_data /home/travis/.rvm/gems/ruby-2.4.0/gems/coveralls-0.7.2/lib/coveralls/simplecov.rb:50:in
block in format' /home/travis/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/forwardable.rb:228:ineach' /home/travis/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/forwardable.rb:228:in
each' /home/travis/.rvm/gems/ruby-2.4.0/gems/coveralls-0.7.2/lib/coveralls/simplecov.rb:40:informat' /home/travis/.rvm/gems/ruby-2.4.0/gems/coveralls-0.7.2/lib/coveralls.rb:32:in
push!' /home/travis/.rvm/gems/ruby-2.4.0/gems/coveralls-0.7.2/lib/coveralls/rake/task.rb:13:inblock (2 levels) in initialize' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/task.rb:281:in
block in execute' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/task.rb:281:ineach' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/task.rb:281:in
execute' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/task.rb:219:inblock in invoke_with_call_chain' /home/travis/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/monitor.rb:214:in
mon_synchronize' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/task.rb:199:ininvoke_with_call_chain' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/task.rb:188:in
invoke' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:160:ininvoke_task' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:116:in
block (2 levels) in top_level' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:116:ineach' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:116:in
block in top_level' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:125:inrun_with_threads' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:110:in
top_level' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:83:inblock in run' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:186:in
standard_exception_handling' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:80:inrun' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/exe/rake:27:in
<top (required)>' /home/travis/.rvm/gems/ruby-2.4.0/bin/rake:23:inload' /home/travis/.rvm/gems/ruby-2.4.0/bin/rake:23:in
<top (required)>' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/cli/exec.rb:63:inload' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/cli/exec.rb:63:in
kernel_load' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/cli/exec.rb:28:inrun' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/cli.rb:494:in
exec' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor/command.rb:27:inrun' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in
invoke_command' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor.rb:392:indispatch' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/cli.rb:30:in
dispatch' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor/base.rb:485:instart' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/cli.rb:24:in
start' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/exe/bundle:49:inblock in <top (required)>' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/friendly_errors.rb:130:in
with_friendly_errors' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/exe/bundle:37:in<top (required)>' /home/travis/.rvm/gems/ruby-2.4.0/bin/bundle:23:in
load' /home/travis/.rvm/gems/ruby-2.4.0/bin/bundle:23:in `' Coverage report generated for RSpec to /home/travis/build/SciRuby/daru-view/coverage. 0 / 0 LOC (100.0%) covered. Done. Your build exited with 0.
ping @Shekharrajak
@sayant1204 can you please document this command as well and let others know how they can skip bundle exec rspec --tag ~local
. You can update the CONTRIBUTION.md file
@Shekharrajak, all the development changes are in daru-view/wiki/Development-Workflow-and-Contribution-guide and in contributing.md only links are attached. So should I update there?
@Shekharrajak, all the development changes are in daru-view/wiki/Development-Workflow-and-Contribution-guide and in contributing.md only links are attached. So should I update there?
Yeah!
Please update the testing part in wiki
Fixes #160.
Now by using the command
bundle exec rspec --tag ~local
we can skip updation of the googlechart and highchart js,css files.