fix: switch docker image

This commit is contained in:
Félix Voituret
2019-11-06 23:35:41 +01:00
parent b12ea6f977
commit 3fc6ee474c

View File

@@ -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: