From: Oleg Broytman Date: Sat, 17 Jun 2017 16:43:50 +0000 (+0300) Subject: Feat(CI): Use remove-old-files.py to cleanup pip cache X-Git-Tag: 0.5.0~2 X-Git-Url: https://git.phdru.name/?p=ppu.git;a=commitdiff_plain;h=c9b64e869f9e673b0d213be3f7d098ef00e4fe1c Feat(CI): Use remove-old-files.py to cleanup pip cache --- diff --git a/.travis.yml b/.travis.yml index ddec68a..d257dce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,3 +28,6 @@ install: script: - tox + +before_cache: + - scripts/remove-old-files.py -o 180 ~/.cache/pip diff --git a/appveyor.yml b/appveyor.yml index 5c95cd1..6722908 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -73,3 +73,6 @@ build: false test_script: - "tox -e %TOX_ENV%" + +after_test: + - "scripts\\remove-old-files.py -o 180 %LOCALAPPDATA%\\pip\\Cache" diff --git a/docs/news.rst b/docs/news.rst index 1948545..8ed59f0 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -1,7 +1,12 @@ News ==== -Version 0.4.0 (2017-06-??) +Version 0.4.1 (2017-06-??) +-------------------------- + +* Use remove-old-files.py to cleanup pip cache. + +Version 0.4.0 (2017-06-04) -------------------------- * Add package 'ppu'.