---
driver:
  name: docker
  use_sudo: false

provisioner:
  name: ansible_playbook
  playbook: tests/test.yml
  ansible_verbose: true
  hosts: '*'
  require_pip: true
  ansible_version: latest
  ansible_verbose: true
  require_chef_for_busser: false

platforms:
  - name: fedora
    driver_config:
      provision_command:
        - dnf -y install python-pip python-paramiko
        - pip install testinfra pytest-logging

  - name: centos
    driver_config:
      provision_command:
        - yum -y install python-pip python-paramiko
        - pip install testinfra pytest-logging

  - name: ubuntu
    driver_config:
      provision_command:
        - apt-get -y --force-yes install python-pip python-paramiko
        - pip install testinfra pytest-logging

  - name: debian
    driver_config:
      provision_command:
        - apt-get -y --force-yes install python-pip python-paramiko
        - pip install testinfra pytest-logging

suites:
  - name: default

verifier:
  name: shell
  command: testinfra -vvv --color=yes test/integration/$KITCHEN_SUITE

transport:
  max_ssh_sessions: 6

---
driver:
  name: docker
  use_sudo: false

provisioner:
  name: ansible_playbook
  playbook: tests/test.yml
  ansible_verbose: true
  hosts: '*'
  require_pip: true
  ansible_version: latest
  ansible_verbose: true
  require_chef_for_busser: false

platforms:
  - name: fedora
    driver_config:
      provision_command:
        - dnf -y install python-pip python-paramiko pycryptopp
        - pip install testinfra pytest-logging

  - name: centos-7
    driver_config:
      provision_command:
        - yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
        - yum -y install python-pip python-paramiko python-crypto
        - pip install testinfra pytest-logging

  - name: ubuntu
    driver_config:
      provision_command:
        - apt-get -y --force-yes install python-pip python-paramiko python-pycryptopp
        - pip install testinfra pytest-logging

  - name: debian
    driver_config:
      provision_command:
        - apt-get -y --force-yes install python-pip python-paramiko python-pycryptopp
        - pip install testinfra pytest-logging

suites:
  - name: default

verifier:
  name: shell
  command: testinfra -vvv --color=yes test/integration/$KITCHEN_SUITE

transport:
  max_ssh_sessions: 6

Install pycrypto from distribution, so that it does not need to be compiled
CI: Install pycrypto from distribution, so that it does not need to be compiled

Previously the runs were failing, becuase containers don't include the compiler

Signed-off-by: Tomas Hozza <2152b765a3a51268598a4503265cd77ce732fa8c@gmail.com>
