Testing on Travis - messagebus/lapine GitHub Wiki
If you use TravisCI and want to include consumer integration tests, you may run into problems. Before you can run a rake task to set up users and vhosts using rabbitmqadmin
(such as described in Setting Up Development RabbitMQ), you need to install the rabbitmq_management
plugin and a rabbitmqadmin
script as follows:
services:
- rabbitmq
before_script:
- sudo rabbitmq-plugins enable rabbitmq_management
- sudo wget http://guest:guest@localhost:15672/cli/rabbitmqadmin -O /usr/local/bin/rabbitmqadmin
- sudo chmod +x /usr/local/bin/rabbitmqadmin
- sudo service rabbitmq-server restart