fix: conda forge deploy goal

This commit is contained in:
Félix Voituret
2019-11-21 13:13:13 +01:00
parent 88b60c5879
commit 9956a18b1b
2 changed files with 11 additions and 28 deletions

View File

@@ -11,15 +11,9 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
key: models-{{ checksum "spleeter/model/__init__.py" }} key: models-{{ checksum "spleeter/model/__init__.py" }}
- run: - run: apt-get update && apt-get install -y ffmpeg
name: install ffmpeg - run: pip install -r requirements.txt && pip install pytest pytest-xdist
command: apt-get update && apt-get install -y ffmpeg - run: make test
- run:
name: install python dependencies
command: pip install -r requirements.txt && pip install pytest pytest-xdist
- run:
name: run tests
command: make test
- save_cache: - save_cache:
key: models-{{ checksum "spleeter/model/__init__.py" }} key: models-{{ checksum "spleeter/model/__init__.py" }}
paths: paths:
@@ -35,15 +29,9 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
key: models-{{ checksum "spleeter/model/__init__.py" }} key: models-{{ checksum "spleeter/model/__init__.py" }}
- run: - run: apt-get update && apt-get install -y ffmpeg
name: install ffmpeg - run: pip install -r requirements.txt && pip install pytest pytest-xdist
command: apt-get update && apt-get install -y ffmpeg - run: make test
- run:
name: install python dependencies
command: pip install -r requirements.txt && pip install pytest pytest-xdist
- run:
name: run tests
command: make test
- save_cache: - save_cache:
key: models-{{ checksum "spleeter/model/__init__.py" }} key: models-{{ checksum "spleeter/model/__init__.py" }}
paths: paths:
@@ -56,9 +44,7 @@ jobs:
- image: python:3 - image: python:3
steps: steps:
- checkout - checkout
- run: - run: make build
name: package source distribution
command: make build
- save_cache: - save_cache:
key: sdist-{{ .Branch }}-{{ checksum "setup.py" }} key: sdist-{{ .Branch }}-{{ checksum "setup.py" }}
paths: paths:
@@ -86,12 +72,9 @@ jobs:
docker: docker:
- image: python:3 - image: python:3
steps: steps:
- run: - checkout
name: install dependencies - run: apt-get update && apt-get install -y git openssl hub
command: apt-get update && apt-get install -y git openssl hub - run: make feedstock
- run:
name: checkout feedstock
command: make feedstock
# ======================================================================================= # =======================================================================================
# Docker build. # Docker build.
# ======================================================================================= # =======================================================================================

View File

@@ -37,4 +37,4 @@ feedstock: build
deploy: deploy:
pip install twine pip install twine
twine upload dist/* twine upload --skip-existing dist/*