<commit_before>---
language: python
python: "2.7"
services:
  - docker

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq python-pip
  - docker run -d --hostname rabbit --name rabbit-mgmt -p 15672:15672 rabbitmq:3-management

install:
  - pip install ansible==2.3.2.0

script:
  - cd tests && ansible-playbook -i localhost, play.yml -e @vars_1.yml
  - docker exec rabbit-mgmt rabbitmqctl list_queues | egrep -v "^amq\." | wc -l | egrep "^\s*2$"
  - docker exec rabbit-mgmt rabbitmqctl list_exchanges | egrep "some_exchange\s+direct"
  - docker exec rabbit-mgmt rabbitmqctl list_queues | egrep "label.deleted\s+"
  - docker exec rabbit-mgmt rabbitmqctl list_queues |  wc -l | egrep "^\s*2$"
  - docker exec rabbit-mgmt rabbitmqctl list_bindings | egrep "some_exchange\s+exchange\s+label\.deleted\s+queue\s+\*\.labels\.deleted"
  - docker exec rabbit-mgmt rabbitmqctl list_bindings | egrep "some_exchange\s+exchange\s+label\.deleted\s+queue\s+us\.\*"
  - docker exec rabbit-mgmt rabbitmqctl list_bindings |  wc -l | egrep "^\s*3$"<commit_msg>added two versions of ansible<commit_after>---
language: python
python: "2.7"
services:
  - docker

env:
  - ANSIBLE_VERSION=2.3.2.0
  - ANSIBLE_VERSION=2.4.0.0 

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq python-pip
  - docker run -d --hostname rabbit --name rabbit-mgmt -p 15672:15672 rabbitmq:3-management

install:
  - pip install ansible==$ANSIBLE_VERSION

script:
  - cd tests && ansible-playbook -i localhost, play.yml -e @vars_1.yml
  - docker exec rabbit-mgmt rabbitmqctl list_queues | egrep -v "^amq\." | wc -l | egrep "^\s*2$"
  - docker exec rabbit-mgmt rabbitmqctl list_exchanges | egrep "some_exchange\s+direct"
  - docker exec rabbit-mgmt rabbitmqctl list_queues | egrep "label.deleted\s+"
  - docker exec rabbit-mgmt rabbitmqctl list_queues |  wc -l | egrep "^\s*2$"
  - docker exec rabbit-mgmt rabbitmqctl list_bindings | egrep "some_exchange\s+exchange\s+label\.deleted\s+queue\s+\*\.labels\.deleted"
  - docker exec rabbit-mgmt rabbitmqctl list_bindings | egrep "some_exchange\s+exchange\s+label\.deleted\s+queue\s+us\.\*"
  - docker exec rabbit-mgmt rabbitmqctl list_bindings |  wc -l | egrep "^\s*3$"
{'fraction_non_alphanumeric': 0.13504968383017163, 'fraction_numerical': 0.02077687443541102, 'mean_word_length': 3.604989604989605, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5160865', 'n_tokens_mistral': 909, 'n_tokens_neox': 813, 'n_words': 202}