mirror of https://github.com/coqui-ai/TTS.git
adapt Makefile for CI
This commit is contained in:
parent
4e47d8f618
commit
72e72a9476
|
@ -1,51 +0,0 @@
|
||||||
version: 2
|
|
||||||
|
|
||||||
workflows:
|
|
||||||
version: 2
|
|
||||||
test:
|
|
||||||
jobs:
|
|
||||||
- test-3.6
|
|
||||||
- test-3.7
|
|
||||||
- test-3.8
|
|
||||||
|
|
||||||
executor: ubuntu-latest
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
types: [opened, synchronize, reopened]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test-3.6: &test-template
|
|
||||||
docker:
|
|
||||||
- image: circleci/python:3.6
|
|
||||||
resource_class: large
|
|
||||||
working_directory: ~/repo
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run: |
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install espeak-ng git
|
|
||||||
- run: sudo pip install --upgrade pip
|
|
||||||
- run: sudo pip install -e .
|
|
||||||
- run: |
|
|
||||||
sudo pip install --quiet --upgrade cardboardlint pylint
|
|
||||||
cardboardlinter --refspec ${CIRCLE_BRANCH} -n auto
|
|
||||||
- run: nosetests tests --nocapture --processes=0 --process-timeout=20 --process-restartworker
|
|
||||||
- run: |
|
|
||||||
sudo ./tests/test_glow-tts_train.sh
|
|
||||||
sudo ./tests/test_tacotron_train.sh
|
|
||||||
sudo ./tests/test_vocoder_gan_train.sh
|
|
||||||
sudo ./tests/test_vocoder_wavegrad_train.sh
|
|
||||||
sudo ./tests/test_vocoder_wavernn_train.sh
|
|
||||||
sudo ./tests/test_speedy_speech_train.sh
|
|
||||||
|
|
||||||
test-3.7:
|
|
||||||
<<: *test-template
|
|
||||||
docker:
|
|
||||||
- image: circleci/python:3.7
|
|
||||||
|
|
||||||
test-3.8:
|
|
||||||
<<: *test-template
|
|
||||||
docker:
|
|
||||||
- image: circleci/python:3.8
|
|
|
@ -35,8 +35,9 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y espeak-ng git
|
sudo apt install -y git make
|
||||||
sudo apt install -y python3-wheel gcc
|
sudo apt install -y python3-wheel gcc
|
||||||
|
make system-deps
|
||||||
- name: Upgrade pip
|
- name: Upgrade pip
|
||||||
# so we can take advantage of pyproject.toml build-dependency support
|
# so we can take advantage of pyproject.toml build-dependency support
|
||||||
run: python3 -m pip install --upgrade pip
|
run: python3 -m pip install --upgrade pip
|
||||||
|
@ -46,17 +47,6 @@ jobs:
|
||||||
python3 setup.py egg_info
|
python3 setup.py egg_info
|
||||||
- name: Lint check
|
- name: Lint check
|
||||||
run: |
|
run: |
|
||||||
cardboardlinter
|
make lint
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
run: nosetests tests --nocapture --processes=0 --process-timeout=20 --process-restartworker
|
run: make test
|
||||||
- name: Test scripts
|
|
||||||
run: |
|
|
||||||
./tests/test_demo_server.sh
|
|
||||||
./tests/test_glow-tts_train.sh
|
|
||||||
./tests/test_tacotron_train.sh
|
|
||||||
./tests/test_vocoder_gan_train.sh
|
|
||||||
./tests/test_vocoder_wavegrad_train.sh
|
|
||||||
./tests/test_vocoder_wavernn_train.sh
|
|
||||||
./tests/test_speedy_speech_train.sh
|
|
||||||
./tests/test_resample.sh
|
|
||||||
./tests/test_compute_statistics.sh
|
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -7,8 +7,8 @@ help:
|
||||||
target_dirs := tests TTS notebooks
|
target_dirs := tests TTS notebooks
|
||||||
|
|
||||||
system-deps: ## install linux system deps
|
system-deps: ## install linux system deps
|
||||||
sudo apt-get install espeak-ng
|
sudo apt-get install -y espeak-ng
|
||||||
sudo apt-get install sndfilelib1-dev
|
sudo apt-get install -y libsndfile1-dev
|
||||||
|
|
||||||
deps: ## install 🐸 requirements.
|
deps: ## install 🐸 requirements.
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
|
@ -16,7 +16,6 @@ tqdm
|
||||||
inflect
|
inflect
|
||||||
bokeh==1.4.0
|
bokeh==1.4.0
|
||||||
pysbd
|
pysbd
|
||||||
# pyworld
|
|
||||||
soundfile
|
soundfile
|
||||||
gdown
|
gdown
|
||||||
umap-learn==0.4.6
|
umap-learn==0.4.6
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
torch>=1.5
|
|
||||||
tensorflow==2.3.1
|
|
||||||
numpy>=1.16.0
|
|
||||||
scipy>=0.19.0
|
|
||||||
numba==0.48
|
|
||||||
librosa==0.7.2
|
|
||||||
phonemizer>=2.2.0
|
|
||||||
unidecode==0.4.20
|
|
||||||
attrdict
|
|
||||||
tensorboardX
|
|
||||||
matplotlib
|
|
||||||
Pillow
|
|
||||||
flask
|
|
||||||
tqdm
|
|
||||||
inflect
|
|
||||||
pysbd
|
|
||||||
bokeh==1.4.0
|
|
||||||
soundfile
|
|
||||||
nose==1.3.7
|
|
||||||
cardboardlint==1.3.0
|
|
||||||
cython
|
|
Loading…
Reference in New Issue