]> git.phdru.name Git - cookiecutter.git/blobdiff - project_template/appveyor.yml
CI(appveyor.yml): Clear `pip` cache with `remove-old-files.py`
[cookiecutter.git] / project_template / appveyor.yml
index 2acab3eddab129de46871eb3aee88b080ffc1108..5a675a66b7e3d4e322f5f1821d173612cc826ed8 100644 (file)
@@ -81,10 +81,13 @@ test_script:
   - "%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 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