Use tox in appveyor

This commit is contained in:
2016-01-14 04:08:51 +05:30
parent 6377f5ae36
commit fef26ef2fd
+17 -9
View File
@@ -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.