2020-12-08 14:30:59 +00:00
|
|
|
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
|
2021-02-12 14:55:08 +00:00
|
|
|
sudo apt install espeak-ng git
|
2021-01-22 12:57:36 +00:00
|
|
|
- run: sudo pip install --upgrade pip
|
|
|
|
- run: sudo pip install -e .
|
2021-01-22 13:24:50 +00:00
|
|
|
- run: |
|
|
|
|
sudo pip install --quiet --upgrade cardboardlint pylint
|
2020-12-08 14:30:59 +00:00
|
|
|
cardboardlinter --refspec ${CIRCLE_BRANCH} -n auto
|
2021-02-08 10:54:52 +00:00
|
|
|
- run: nosetests tests --nocapture --processes=0 --process-timeout=20 --process-restartworker
|
2020-12-08 14:30:59 +00:00
|
|
|
- run: |
|
2021-01-22 13:50:20 +00:00
|
|
|
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
|
2020-12-08 14:30:59 +00:00
|
|
|
|
|
|
|
test-3.7:
|
|
|
|
<<: *test-template
|
|
|
|
docker:
|
|
|
|
- image: circleci/python:3.7
|
|
|
|
|
|
|
|
test-3.8:
|
|
|
|
<<: *test-template
|
|
|
|
docker:
|
|
|
|
- image: circleci/python:3.8
|