feat: add circleci configuration

This commit is contained in:
Félix Voituret
2019-11-06 23:16:20 +01:00
parent 6f1a292648
commit 82ecaa3c67

25
.circleci/config.yml Normal file
View File

@@ -0,0 +1,25 @@
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/*