From 82ecaa3c67ac82766d0817d20ebb2aca74d6897a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Voituret?= Date: Wed, 6 Nov 2019 23:16:20 +0100 Subject: [PATCH] feat: add circleci configuration --- .circleci/config.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..9899f90 --- /dev/null +++ b/.circleci/config.yml @@ -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/*