Use remove-old-files.py from ppu to cleanup pip cache at Travis and AppVeyor.
- env: TOXENV=pypy
install:
- - travis_retry pip install tox
+ - travis_retry pip install tox ppu
script:
- tox
+
+before_cache:
+ - remove-old-files.py -o 180 ~/.cache/pip
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
- "pip --version"
- - "pip install tox"
+ - "pip install tox ppu"
# No build step - we don't have C extensions
build: false
#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"