forked from pytorch/audio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (30 loc) · 882 Bytes
/
.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
# note dist: 'trusty' does not work here
dist: xenial
language: python
# cache miniconda installer and similar files
cache:
directories:
- /home/travis/download
# This matrix tests that the code works on Python 3.5, 3.6, 3.7, passes
# lint and example tests.
matrix:
fast_finish: true
include:
- env: PYTHON_VERSION="3.5"
- env: PYTHON_VERSION="3.6"
- env: PYTHON_VERSION="3.7"
- env: PYTHON_VERSION="3.5" RUN_FLAKE8="true" SKIP_INSTALL="true" SKIP_TESTS="true"
- env: PYTHON_VERSION="3.5" RUN_EXAMPLE_TESTS="true" SKIP_TESTS="true"
allow_failures:
- env: PYTHON_VERSION="3.5" RUN_EXAMPLE_TESTS="true" SKIP_TESTS="true"
addons:
apt:
packages:
sox
libsox-dev
libsox-fmt-all
portaudio19-dev
notifications:
email: false
install: source build_tools/travis/install.sh
script: bash build_tools/travis/test_script.sh