summary: Basic smoke test for virtualenv description: | Check basic functionality of Python virtual environments (venv or virtualenv based). The test supports different python versions & implementations including pypy and jython. The following steps are performed: * Create virtual environment * Activate virtual environment * Install pip, pytest and Cython * Create and test a simple module * Check we can do extension modules * Ensure we can test with the tox tool Use the following environment variables to adjust what should be tested (default values listed first): * VERSION ... python version (3.7, 3.6, 2.7, 2.6) * PYTHON ... implementation (python${VERSION}, pypy, pypy3, jython) * METHOD ... virtual environment creation method (venv, virtualenv) * TOX ... enable or disable the tox test (true, false) path: smoke test: ./venv.sh tier: 1 tags: [venv] duration: 10m component+: - python2 - python26 - python3 - python34 - python35 - python36 - pypy - pypy3 - jython - python-pip - python-wheel - python-setuptools - python-virtualenv - python-tox require: - gcc - virtualenv - python3-devel - python3-tox /python27: require+: - python27 - python2-devel environment: VERSION: 2.7 METHOD: virtualenv /python34: require+: - python34 environment: VERSION: 3.4 /python35: require+: - python35 environment: VERSION: 3.5 /python36: require+: - python36 environment: VERSION: 3.6 /python37: require+: - python37 environment: VERSION: 3.7 /python38: require+: - python38 environment: VERSION: 3.8 /python39: require+: - python39 environment: VERSION: 3.9