Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.
/ tox_appveyor Public archive

Select 32 or 64-bit Python for Tox on Appveyor

License

Notifications You must be signed in to change notification settings

takluyver/tox_appveyor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated: This plugin doesn't work with tox 4.x. One alternative is to use tox run --discover path\\to\\python.exe to specify which Python to use. If you want to make a new plugin, see tox's plugin docs.

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.

About

Select 32 or 64-bit Python for Tox on Appveyor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages