If you need Sidekiq on Travis CI then you only need to do two things, start Redis and Sidekiq. Travis has build-in support for installing and starting Redis. You must add your own script to start Sidekiq.
1 2 3 4 5 6 7 8 9 10 11 12
If you target JRuby then you can’t use
-d (detach) option to start
sidekiq since JRuby does not support forking. Instead you can run the command
in the background with
bundle exec sidekiq -r ./spec/dummy_app/app.rb -L /tmp/sidekiq.log &.