Skip to main content

Select 32 or 64-bit Python for Tox on Appveyor

Project description

This is a tiny Tox plugin to allow selecting 32-bit or 64-bit Python on AppVeyor Windows CI builds.

In your appveyor.yml file, specify the different builds like this:

environment:
  matrix:
    # Python 2.7, 64-bit
    - TOXENV: "py27"
      TOX_APPVEYOR_X64: 1

    # Python 2.7, 32-bit
    - TOXENV: "py27"
      TOX_APPVEYOR_X64: 0

    # Python 3.7, 64-bit
    - TOXENV: "py37"
      TOX_APPVEYOR_X64: 1

    # Python 3.7, 32-bit
    - TOXENV: "py37"
      TOX_APPVEYOR_X64: 0

build: off

# For the sections below, the Python version doesn't matter:
# tox will make an environment based on the environment variables.

install:
  - "py -3.6 -m pip install wheel tox tox-appveyor"

test_script:
  - "py -3.6 -m tox"

Supporting Windows using Appveyor in the Python Packaging User Guide has more background info about testing Python projects on Appveyor.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tox-appveyor-0.1.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

tox_appveyor-0.1.1-py2.py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page