Files
spleeter/.circleci/config.yml
2019-11-06 23:20:33 +01:00

37 lines
806 B
YAML

version: 2
jobs:
test:
docker:
- image: circleci/python:3.6.1
working_directory: ~/spleeter
steps:
- checkout
- run:
name: install spleeter
command: pip install .
- run:
name: test separation
command: spleeter separate -i audio_example.mp3 -o .
upload:
docker:
- image: circleci/python:3.6.1
steps:
- checkout
- run:
name: package
command: python setup.py bdist
- run:
name: upload to PyPi
command: pip install twine && twine upload dist/*
workflows:
version: 2
test-and-deploy:
jobs:
- test
- upload:
filters:
branches:
only:
- master
requires:
- test