From 9956a18b1bb698a7a1e6849b20928562a4ddee1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Voituret?= Date: Thu, 21 Nov 2019 13:13:13 +0100 Subject: [PATCH] fix: conda forge deploy goal --- .circleci/config.yml | 37 ++++++++++--------------------------- Makefile | 2 +- 2 files changed, 11 insertions(+), 28 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4cae4ca..3e5d110 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,15 +11,9 @@ jobs: - checkout - 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 pytest-xdist - - run: - name: run tests - command: make test + - run: apt-get update && apt-get install -y ffmpeg + - run: pip install -r requirements.txt && pip install pytest pytest-xdist + - run: make test - save_cache: key: models-{{ checksum "spleeter/model/__init__.py" }} paths: @@ -35,15 +29,9 @@ jobs: - checkout - 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 pytest-xdist - - run: - name: run tests - command: make test + - run: apt-get update && apt-get install -y ffmpeg + - run: pip install -r requirements.txt && pip install pytest pytest-xdist + - run: make test - save_cache: key: models-{{ checksum "spleeter/model/__init__.py" }} paths: @@ -56,9 +44,7 @@ jobs: - image: python:3 steps: - checkout - - run: - name: package source distribution - command: make build + - run: make build - save_cache: key: sdist-{{ .Branch }}-{{ checksum "setup.py" }} paths: @@ -86,12 +72,9 @@ jobs: docker: - image: python:3 steps: - - run: - name: install dependencies - command: apt-get update && apt-get install -y git openssl hub - - run: - name: checkout feedstock - command: make feedstock + - checkout + - run: apt-get update && apt-get install -y git openssl hub + - run: make feedstock # ======================================================================================= # Docker build. # ======================================================================================= diff --git a/Makefile b/Makefile index f4a08d3..ffac448 100644 --- a/Makefile +++ b/Makefile @@ -37,4 +37,4 @@ feedstock: build deploy: pip install twine - twine upload dist/* \ No newline at end of file + twine upload --skip-existing dist/* \ No newline at end of file