fix: conda deploy

This commit is contained in:
Félix Voituret
2019-11-19 11:27:34 +01:00
parent ff539bd26c
commit 2c6c927f47
3 changed files with 43 additions and 35 deletions

View File

@@ -77,25 +77,22 @@ jobs:
name: upload to PyPi
# TODO: Infer destination regarding of branch.
# - master => production PyPi
# - development => testing PyPi
# - other => testing PyPi
command: make deploy
# =======================================================================================
# Conda distribution.
# =======================================================================================
#conda-deploy:
# docker:
# - image: null # TODO: use circle ci python image.
# steps:
# - run:
# name: checkout feedstock
# command: git clone https://github.com/conda-forge/spleeter-feedstock
# - run:
# name: update version
# command: sed -i 's///g'
# - run:
# name: deploy
# command: git add recipe && git commit -m "" && git push
conda-forge-deploy:
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
workflows:
version: 2
spleeter-workflow:
@@ -112,4 +109,11 @@ workflows:
only:
- master
requires:
- sdist
- sdist
- conda-forge-deploy:
filters:
branches:
only:
- master
requires:
- pypi-deploy