选择32位或64位python作为appveyor上的tox
tox-appveyor的Python项目详细描述
这是一个很小的tox插件,允许选择32位或64位python 在AppVeyorWindows CI生成上。
在appveyor.yml文件中,指定如下不同的生成:
environment:matrix:# Python 3.7, 64-bit-TOXENV:"py37"TOX_APPVEYOR_X64=1# Python 3.7, 32-bit-TOXENV:"py37"TOX_APPVEYOR_X64=0# For the sections below, the Python version doesn't matter:# tox will make an environment based on the environment variables.install:-"build.cmdpy-3.6-mpipinstallwheeltoxtox-appveyor"test_script:-"build.cmdpy-3.6-mtox"
Supporting Windows using Appveyor 在python打包用户指南中有更多关于测试python的背景信息 Appveyor上的项目。