- "SET TOXPYTHON=%PYTHON_HOME%\\python.exe"
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
+ - "python -m pip install --upgrade pip setuptools"
+ - "pip install --upgrade \"tox <= 2.9.1\" ppu"
- "pip --version"
- - "pip install --upgrade pip setuptools tox ppu"
# No build step - we don't have C extensions
build: false
- "%CMD_IN_ENV% tox"
#after_test:
-# # If tests are successful, create binary package
-# - "pip install wheel"
-# - "%CMD_IN_ENV% python setup.py bdist_wheel"
-# - ps: "ls dist"
+# # If tests are successful and we've tested a tag, create binary package
+# - if "%APPVEYOR_REPO_TAG%" == "true" (
+# pip install --upgrade wheel &&
+# %CMD_IN_ENV% python setup.py bdist_wheel &&
+# ls dist
+# )
+# - remove-old-files.py -o 180 %LOCALAPPDATA%\\pip\\Cache
#
#artifacts:
# # Archive the generated packages in the ci.appveyor.com build report