File tree Expand file tree Collapse file tree 4 files changed +37
-3
lines changed Expand file tree Collapse file tree 4 files changed +37
-3
lines changed Original file line number Diff line number Diff line change 1+ language : python
2+
3+ python :
4+ - " 3.6"
5+
6+ notifications :
7+ email : false
8+
9+ before_install :
10+ - sudo apt-get update
11+ - if [["$TRAVIS_PYTHON_VERSION" == "2.7"]]; then
12+ wget http://repo.continuum.io/miniconda/Miniconda-3.8.3-Linux-x86_64.sh -O miniconda.sh;
13+ else
14+ wget http://repo.continuum.io/miniconda/Miniconda3-3.8.3-Linux-x86_64.sh -O miniconda.sh;
15+ fi
16+ - bash miniconda.sh -b -p $HOME/miniconda
17+ - export PATH="$HOME/miniconda/bin:$PATH"
18+ - hash -r
19+ - conda config --set always_yes yes --set changeps1 no
20+ - conda update -q conda
21+ # Useful for debugging any issues with conda
22+ - conda config --add channels pypi
23+ - conda info -a
24+ - deps='pip numpy scipy cython nose pytorch'
25+ - conda create -q -n test-environment "python=$TRAVIS_PYTHON_VERSION" $deps -c pytorch
26+ - source activate test-environment
27+
28+ install :
29+ - pip install -e ".[test]"
30+ - python -c "import nltk; nltk.download('cmudict')"
31+
32+ script :
33+ - nosetests -v -w tests/ -a '!local_only'
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ python train.py --data-root=./data/ljspeech --checkpoint-dir=checkpoints_nyanko
5555- PyTorch >= v0.3
5656- TensorFlow >= v1.3
5757- [ tensorboard-pytorch] ( https://github.com/lanpa/tensorboard-pytorch ) (master)
58- - [ nnmnkwii] ( https://github.com/r9y9/nnmnkwii ) >= v0.0.9
58+ - [ nnmnkwii] ( https://github.com/r9y9/nnmnkwii ) >= v0.0.11
5959- [ MeCab] ( http://taku910.github.io/mecab/ ) (Japanese only)
6060
6161## Installation
Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ def run(self):
5959 "librosa" ,
6060 "numba" ,
6161 "lws <= 1.0" ,
62+ "nltk" ,
6263 ],
6364 extras_require = {
6465 "train" : [
6566 "docopt" ,
6667 "tqdm" ,
6768 "tensorboardX" ,
68- "nnmnkwii >= 0.0.9" ,
69- "nltk" ,
69+ "nnmnkwii >= 0.0.11" ,
7070 ],
7171 "test" : [
7272 "nose" ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ def test_en():
1515 assert t == "hello world.~"
1616
1717
18+ @attr ("local_only" )
1819def test_ja ():
1920 f = getattr (frontend , "jp" )
2021 seq = f .text_to_sequence ("こんにちわ" )
You can’t perform that action at this time.
0 commit comments