Skip to content

Commit

Permalink
Merge pull request #112 from r9y9/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
r9y9 authored May 15, 2021
2 parents def4eef + c9304ed commit 5b8f82b
Show file tree
Hide file tree
Showing 36 changed files with 2,994 additions and 547 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python package

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest
env:
OMP_NUM_THREADS: 1
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install libsndfile1-dev
python -m pip install --upgrade pip
pip install torch
pip install -e ".[test]"
- name: Test
run: |
nosetests --with-coverage --cover-package=nnmnkwii -v -w tests/ -a '!require_local_data,!modspec'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ README.rst
nnmnkwii/version.py
nnmnkwii/paramgen/mlpg_helper.c
nnmnkwii/util/_linalg.c
nnmnkwii/paramgen/_bandmat/*.c
examples
docs/references/generated
docs/.doctrees
Expand Down
10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,8 @@ install:
- pip install -e ".[test]"

script:
# Workaround for bandmat installation issue on python >= 3.7
# see https://github.com/MattShannon/bandmat/issues/10
- if [ "$TRAVIS_PYTHON_VERSION" == "3.7" -o "$TRAVIS_PYTHON_VERSION" == "3.8" ]; then
nosetests --with-coverage --cover-package=nnmnkwii -v -w tests/ -a '!require_local_data,!modspec,!requires_bandmat' --ignore-files=test_autograd.py;
else
nosetests --with-coverage --cover-package=nnmnkwii -v -w tests/ -a '!require_local_data,!modspec';
fi
- flake8
- nosetests --with-coverage --cover-package=nnmnkwii -v -w tests/ -a '!require_local_data,!modspec';
# - flake8

after_success:
- codecov
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include README.md LICENSE.md
recursive-include nnmnkwii COPYING
recursive-include nnmnkwii COPYING License
recursive-include nnmnkwii/util/_example_data *.lab *.wav *.npz *.hed
recursive-include nnmnkwii *.c
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
[![][docs-stable-img]][docs-stable-url]
[![][docs-latest-img]][docs-latest-url]
[![PyPI](https://img.shields.io/pypi/v/nnmnkwii.svg)](https://pypi.python.org/pypi/nnmnkwii)
[![Python package](https://github.com/r9y9/nnmnkwii/actions/workflows/ci.yaml/badge.svg)](https://github.com/r9y9/nnmnkwii/actions/workflows/ci.yaml)
[![Build Status](https://travis-ci.org/r9y9/nnmnkwii.svg?branch=master)](https://travis-ci.org/r9y9/nnmnkwii)
[![Build status](https://ci.appveyor.com/api/projects/status/ch8cmtpw8ic1sd86?svg=true)](https://ci.appveyor.com/project/r9y9/nnmnkwii)
[![codecov](https://codecov.io/gh/r9y9/nnmnkwii/branch/master/graph/badge.svg)](https://codecov.io/gh/r9y9/nnmnkwii)
[![DOI](https://zenodo.org/badge/96328821.svg)](https://zenodo.org/badge/latestdoi/96328821)

Library to build speech synthesis systems designed for easy and fast prototyping.

Supported python versions: 2.7 and 3.6.

## Documentation

- [**STABLE**][docs-stable-url] — **most recently tagged version of the documentation.**
Expand Down
14 changes: 12 additions & 2 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
Change log
==========

v0.0.23 <2021-xx-xx>
v0.0.23 <2021-05-15>
--------------------

- `#112`_: Renamed continuous_dict to numeric_dict to be more precise.
- `#112`_: Bandmat is now a part of nnmnkwii's internal package. This is to avoid instllation failusres on python >=3.6. https://github.com/MattShannon/bandmat/issues/10
- `#112`_: Started testing using github actions (python 3.7, 3.8, 3.9)
- `#112`_: [hts.io]: :func:`nnmnkwii.io.hts.load_question_set` now keeps question names (e.g. "L-Phone_Boin") in dictionary.
- `#112`_: [hts.io]: New functionality :func:`nnmnkwii.io.hts.write_audacity_labels`
- `#112`_: [hts.io]: New functionality :func:`nnmnkwii.io.hts.write_textgrid`
- `#112`_: Renamed np.int to int
- `#112`_: Added pyproject.yaml

v0.0.22 <2020-12-25>
--------------------

Expand Down Expand Up @@ -214,4 +223,5 @@ v0.0.1 <2017-08-14>
.. _#101: https://github.com/r9y9/nnmnkwii/pull/101
.. _#105: https://github.com/r9y9/nnmnkwii/pull/105
.. _#108: https://github.com/r9y9/nnmnkwii/pull/108
.. _#109: https://github.com/r9y9/nnmnkwii/pull/109
.. _#109: https://github.com/r9y9/nnmnkwii/pull/109
.. _#112: https://github.com/r9y9/nnmnkwii/pull/112
Loading

0 comments on commit 5b8f82b

Please sign in to comment.