]> git.phdru.name Git - cookiecutter.git/blobdiff - project_template/appveyor.yml
Use ppu to cleanup pip cache
[cookiecutter.git] / project_template / appveyor.yml
index 6107a563d5a6fb7dfdc690c683dda2ff216faede..5c4d648afd459f5222f013c04f2b51f1304fdf3f 100644 (file)
@@ -2,11 +2,10 @@
 # Heavily inspired by Oliver Grisel's appveyor-demo (https://github.com/ogrisel/python-appveyor-demo)
 version: '{branch}-{build}'
 
-# Only test maint, master and pull requests; skip tags.
+# Only test master and pull requests; skip tags.
 # Other branches can allow themselves.
 branches:
   only:
-    - maint
     - master
 skip_branch_with_pr: false
 skip_tags: true
@@ -73,9 +72,9 @@ install:
   - "python --version"
   - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
   - "pip --version"
-  - "pip install tox"
+  - "pip install tox ppu"
 
-# No build step - _namemapper extension will be built under tox
+# No build step - we don't have C extensions
 build: false
 
 test_script:
@@ -90,3 +89,6 @@ test_script:
 #artifacts:
 #  # Archive the generated packages in the ci.appveyor.com build report
 #  - path: dist\*
+
+after_test:
+  - "remove-old-files.py -o 180 %LOCALAPPDATA%\\pip\\Cache"