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
- 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.
# =======================================================================================

View File

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