Using the latest RabbitMQ in Circle-CI

Oct 4, 2016

rabbitmq, ci, testing

RabbitMQ is my favorite distributed messaging queue and I use it for every new project, sadly I constantly found myself struggling to set it up in Circle-CI since it’s not included in the base image.

So this is what I use in my circle.yml to get it working:

    - echo 'deb testing main' | sudo tee /etc/apt/sources.list.d/rabbitmq.list
    - wget -O- | sudo apt-key add -
    - sudo apt-get update
    - sudo apt-get install rabbitmq-server
    - sudo service rabbitmq-server start