- job:
    name: rally-tox-base
    parent: unittests
    pre-run: tests/ci/playbooks/rally-tox-base/pre-run.yaml
    run: tests/ci/playbooks/rally-tox-base/run.yaml
    post-run: tests/ci/playbooks/rally-tox-base/post-run.yaml
    description: |
      Run test for rally project.

- job:
    name: rally-tox-docs
    parent: rally-tox-base
    description: |
      Run test for rally project.

      Uses tox with the ``self`` environment.
    vars:
      tox_env: docs

- job:
    name: rally-tox-pep8
    parent: rally-tox-base
    description: |
      Run test for rally project.

      Uses tox with the ``self`` environment.
    vars:
      tox_env: pep8

- job:
    name: rally-tox-functional
    parent: rally-tox-base
    description: |
      Run test for rally project.

      Uses tox with the ``functional`` environment.
    vars:
      tox_env: functional

- job:
    name: rally-tox-functional-py3
    parent: rally-tox-base
    description: |
      Run test for rally project.

      Uses tox with the ``functional-py3`` environment.
    vars:
      tox_env: functional-py3

- job:
    name: rally-tox-self
    parent: rally-tox-base
    description: |
      Run test for rally project.

      Uses tox with the ``self`` environment.
    vars:
      tox_env: self

- job:
    name: rally-tox-py27
    parent: rally-tox-base
    description: |
      Run unit test for rally project.

      Uses tox with the ``py34`` environment.
    vars:
      tox_env: py27

- job:
    name: rally-tox-py34
    parent: rally-tox-base
    description: |
      Run unit test for rally project.

      Uses tox with the ``py34`` environment.
    vars:
      tox_env: py34

- job:
    name: rally-tox-py35
    parent: rally-tox-base
    description: |
      Run unit test for rally project.

      Uses tox with the ``py35`` environment.
    vars:
      tox_env: py35

- job:
    name: rally-tox-py36
    parent: rally-tox-base
    description: |
      Run unit test for rally project.

      Uses tox with the ``py36`` environment.
    vars:
      tox_env: py36

- job:
    name: rally-tox-py37
    parent: rally-tox-base
    description: |
      Run unit test for rally project.

      Uses tox with the ``py37`` environment.
    vars:
      tox_env: py37
