From 2d079e12e685e4d49e9a7d9c7091b13e3655870f Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sun, 5 May 2019 19:22:06 -0400 Subject: [PATCH] appveyor: set TOXENV separately for each python version Builds are failing on appveyor because it's trying to install `noiseprotocol` all the time, when it's only installable under py3. Thanks to @julian and julian/jsonschema 's .appveyor for the hints. --- .appveyor.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index c583ab2..826636f 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -12,13 +12,20 @@ environment: # For Python versions available on Appveyor, see # http://www.appveyor.com/docs/installed-software#python - PYTHON: "C:\\Python27" + TOXENV: py27-nodilate - PYTHON: "C:\\Python27-x64" DISTUTILS_USE_SDK: "1" + TOXENV: py27-nodilate - PYTHON: "C:\\Python35" + TOXENV: py35 - PYTHON: "C:\\Python35-x64" + TOXENV: py35 - PYTHON: "C:\\Python36" + TOXENV: py36 - PYTHON: "C:\\Python36-x64" + TOXENV: py36 - PYTHON: "C:\\Python37-x64" + TOXENV: py37 matrix: allow_failures: @@ -42,7 +49,7 @@ test_script: # the interpreter you're using - Appveyor does not do anything special # to put the Python evrsion you want to use on PATH. - | - misc\windows-build.cmd %PYTHON%\Scripts\tox.exe -e py + misc\windows-build.cmd %PYTHON%\Scripts\tox.exe after_test: # This step builds your wheels.