mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-31 14:58:23 +00:00
fix: switch docker image
This commit is contained in:
@@ -2,22 +2,22 @@ version: 2
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/python:3.6.1
|
- image: python:3
|
||||||
working_directory: ~/spleeter
|
working_directory: ~/spleeter
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: install ffmpeg
|
name: install ffmpeg
|
||||||
command: sudo apt-get update && sudo apt-get install ffmpeg
|
command: apt-get update && apt-get install ffmpeg
|
||||||
- run:
|
- run:
|
||||||
name: install spleeter
|
name: install spleeter
|
||||||
command: sudo pip install .
|
command: pip install .
|
||||||
- run:
|
- run:
|
||||||
name: test separation
|
name: test separation
|
||||||
command: python -m spleeter separate -i audio_example.mp3 -o .
|
command: spleeter separate -i audio_example.mp3 -o .
|
||||||
upload:
|
upload:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/python:3.6.1
|
- image: python:3
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
command: python setup.py bdist
|
command: python setup.py bdist
|
||||||
- run:
|
- run:
|
||||||
name: upload to PyPi
|
name: upload to PyPi
|
||||||
command: pip install twine --user && twine upload dist/*
|
command: pip install twine && twine upload dist/*
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
test-and-deploy:
|
test-and-deploy:
|
||||||
|
|||||||
Reference in New Issue
Block a user