From fef26ef2fdb84597130c0064d66877263cb25063 Mon Sep 17 00:00:00 2001 From: Abhas Bhattacharya Date: Thu, 14 Jan 2016 04:08:51 +0530 Subject: [PATCH] Use tox in appveyor --- appveyor.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 6b3aa11..b033914 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,39 +14,47 @@ environment: # run 2.7 and 3,5 first, then others # passing this two should be a good indicator as they are last minor versions - # - PYTHON: "C:\\Python27" - # PYTHON_VERSION: "2.7.x" # currently 2.7.9 - # PYTHON_ARCH: "32" + - PYTHON: "C:\\Python27" + PYTHON_VERSION: "2.7.x" # currently 2.7.9 + PYTHON_ARCH: "32" + TOXENV: "py27" - # - PYTHON: "C:\\Python27-x64" - # PYTHON_VERSION: "2.7.x" # currently 2.7.9 - # PYTHON_ARCH: "64" + - PYTHON: "C:\\Python27-x64" + PYTHON_VERSION: "2.7.x" # currently 2.7.9 + PYTHON_ARCH: "64" + TOXENV: "py27" - PYTHON: "C:\\Python35" PYTHON_VERSION: "3.5.x" # currently 3.3.5 PYTHON_ARCH: "32" + TOXENV: "py35" - PYTHON: "C:\\Python35-x64" PYTHON_VERSION: "3.5.x" # currently 3.3.5 PYTHON_ARCH: "64" + TOXENV: "py35" # other intermediate versions - PYTHON: "C:\\Python33" PYTHON_VERSION: "3.3.x" # currently 3.3.5 PYTHON_ARCH: "32" + TOXENV: "py33" - PYTHON: "C:\\Python33-x64" PYTHON_VERSION: "3.3.x" # currently 3.3.5 PYTHON_ARCH: "64" + TOXENV: "py33" - PYTHON: "C:\\Python34" PYTHON_VERSION: "3.4.x" # currently 3.4.3 PYTHON_ARCH: "32" + TOXENV: "py34" - PYTHON: "C:\\Python34-x64" PYTHON_VERSION: "3.4.x" # currently 3.4.3 PYTHON_ARCH: "64" + TOXENV: "py34" # Python versions not pre-installed @@ -90,16 +98,16 @@ install: - cinst redis-64 # Install the build dependencies of the project. - - "pip install --upgrade -r requirements.txt" + - pip install --upgrade -r requirements.txt # Install self for tests - - "pip install -e ." + - pip install tox build: off test_script: # Run the project tests - - ps: "py.test -v" + - tox # after_test: # # If tests are successful, create binary packages for the project.