Use tox for testing on Appveyor
@@ -60,6 +60,9 @@ install:
# We need wheel installed to build wheels, and this isn't pulled in by setup.py
- "build.cmd python -m pip install wheel"
+ # Install tox for testing
+ - "build.cmd python -m pip install tox"
+
# We need twine installed to push wheels to PyPI
- "build.cmd python -m pip install twine"
@@ -68,13 +71,7 @@ build_script:
- "build.cmd python setup.py build"
test_script:
- # Run the project tests. Test only for 64 bit Python as the 32 bit tests fail
- # due to memory fragmentation resulting from many alloc/free cycles
- # ps: $env:is64bit = $env:PYTHON.Contains("-x64")
- # IF %is64bit% == True build.cmd tox
- - "build.cmd python -m pip install -e ."
- - "build.cmd python -m pip install -e .[tests]"
- - "build.cmd pytest tests"
+ - "build.cmd tox tests"
after_test:
# If tests are successful, create binary packages for the project.
