forked from espnet/espnet
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
48 lines (40 loc) · 1.11 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
dist: xenial
language: python
python:
- "3.7"
cache:
- pip
- ccache
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
- python3-dev
- g++-7
- pandoc
- ffmpeg
- bc
env:
# NOTE(kan-bayashi): Use 3.7.3 to avoid sentencepiece installation error
- USE_CONDA=false ESPNET_PYTHON_VERSION=3.7.3 TH_VERSION=1.0.1 CHAINER_VERSION=6.0.0 CC=gcc-7 CXX=g++-7
- USE_CONDA=false ESPNET_PYTHON_VERSION=3.7.3 TH_VERSION=1.1.0 CHAINER_VERSION=6.0.0 CC=gcc-7 CXX=g++-7
# torch nightly
- USE_CONDA=false ESPNET_PYTHON_VERSION=3.7.3 TH_VERSION=nightly CHAINER_VERSION=6.0.0 CC=gcc-7 CXX=g++-7
matrix:
allow_failures:
# torch nightly
- env: USE_CONDA=false ESPNET_PYTHON_VERSION=3.7.3 TH_VERSION=nightly CHAINER_VERSION=6.0.0 CC=gcc-7 CXX=g++-7
install:
- travis_retry ./ci/install.sh
- travis_retry ./ci/install_kaldi.sh
script:
- ./ci/test_shell.sh
- ./ci/test_python.sh
- ./ci/test_integration.sh
- ./ci/doc.sh
sudo: false
after_success:
- bash <(curl -s https://codecov.io/bash)
- travis-sphinx deploy -m "Update documentation [ci skip]"