From c9b64e869f9e673b0d213be3f7d098ef00e4fe1c Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 17 Jun 2017 19:43:50 +0300 Subject: [PATCH] Feat(CI): Use remove-old-files.py to cleanup pip cache --- .travis.yml | 3 +++ appveyor.yml | 3 +++ docs/news.rst | 7 ++++++- 3 files changed, 12 insertions(+), 1 deletion(-) 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'. -- 2.39.5