mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-06 04:32:43 +00:00
40
.circleci/config.yml
Normal file
40
.circleci/config.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
version: 2
|
||||
jobs:
|
||||
test:
|
||||
docker:
|
||||
- image: python:3.7
|
||||
working_directory: ~/spleeter
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: install ffmpeg
|
||||
command: apt-get update && apt-get install -y ffmpeg
|
||||
- run:
|
||||
name: install spleeter
|
||||
command: pip install .
|
||||
- run:
|
||||
name: test separation
|
||||
command: spleeter separate -i audio_example.mp3 -o .
|
||||
upload:
|
||||
docker:
|
||||
- image: python:3
|
||||
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
|
||||
@@ -1,6 +1,6 @@
|
||||
<img src="https://github.com/deezer/spleeter/raw/master/images/spleeter_logo.png" height="80" />
|
||||
|
||||
[](https://badge.fury.io/py/spleeter)   [](https://colab.research.google.com/github/deezer/spleeter/blob/master/spleeter.ipynb)
|
||||
[](https://circleci.com/gh/deezer/spleeter/tree/master) [](https://badge.fury.io/py/spleeter)   [](https://colab.research.google.com/github/deezer/spleeter/blob/master/spleeter.ipynb)
|
||||
|
||||
## About
|
||||
|
||||
|
||||
Reference in New Issue
Block a user