travis.ci keeps on failing when running “bundle exec rake”

末鹿安然 提交于 2019-12-04 18:44:59

if you want to execute bundle exec rake on travis, you will have to make sure, that it runs on your local machine!

if you call rake without providing a task-name, it will assume that you want to run the default-task.

if you want to run your minitest testsuite as a default-task, you have to do this:

require "rake/testtask"

Rake::TestTask.new do |t|
  t.pattern = "test/**/*_test.rb"
end

task default: :test
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!