From 29afdc32f74ffa813fa3bcc3da86aced98539c12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Voituret?= Date: Fri, 8 Nov 2019 19:48:57 -0500 Subject: [PATCH] fix: remove useless caching --- .circleci/config.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b6d4fad..e379d20 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,30 +9,15 @@ jobs: working_directory: ~/spleeter steps: - checkout - - restore_cache: - keys: - - python-3.6-cache-{{ .Branch }}-{{ checksum "requirements.txt" }} - - python-3.6-cache-{{ .Branch }}- - - python-3.6-cache- - - restore_cache: - key: models-{{ checksum "spleeter/model/__init__.py" }} - run: name: install ffmpeg command: apt-get update && apt-get install -y ffmpeg - run: name: install python dependencies command: pip install -r requirements.txt && pip install pytest - - save_cache: - key: python-3.6-cache-{{ .Branch }}-{{ checksum "requirements.txt" }} - paths: - - "/usr" - run: name: pytest command: pytest -W ignore::FutureWarning -W ignore::DeprecationWarning - - save_cache: - key: models-{{ checksum "spleeter/model/__init__.py" }} - paths: - - "pretrained_models" # ======================================================================================= # Python 3.7 testing. # ======================================================================================= @@ -42,30 +27,15 @@ jobs: working_directory: ~/spleeter steps: - checkout - - restore_cache: - keys: - - python-3.7-cache-{{ .Branch }}-{{ checksum "requirements.txt" }} - - python-3.7-cache-{{ .Branch }}- - - python-3.7-cache- - - restore_cache: - key: models-{{ checksum "spleeter/model/__init__.py" }} - run: name: install ffmpeg command: apt-get update && apt-get install -y ffmpeg - run: name: install python dependencies command: pip install -r requirements.txt && pip install pytest - - save_cache: - key: python-3.7-cache-{{ .Branch }}-{{ checksum "requirements.txt" }} - paths: - - "/usr" - run: name: pytest command: pytest -W ignore::FutureWarning -W ignore::DeprecationWarning - - save_cache: - key: models-{{ checksum "spleeter/model/__init__.py" }} - paths: - - "pretrained_models" # ======================================================================================= # Source distribution packaging. # =======================================================================================