.travis.yml 722 Bytes
Newer Older
1
# note dist: 'trusty' does not work here
2
dist: xenial
3
4
5
6
7
8
9
10
11

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, and passes lint.
12
matrix:
13
  fast_finish: true
14
  include:
15
    - env: PYTHON_VERSION="3.7"
16
    - env: PYTHON_VERSION="3.6"
17
    # TODO add this back in when there is a pytorch 1.2 for python 3.5
18
    - env: PYTHON_VERSION="3.5" RUN_FLAKE8="true" SKIP_TESTS="true"
19
    - env: PYTHON_VERSION="2.7"
20

21
addons:
22
23
24
25
26
27
28
29
30
31
32
  apt:
    packages:
      sox
      libsox-dev
      libsox-fmt-all

notifications:
  email: false

install: source build_tools/travis/install.sh
script: bash build_tools/travis/test_script.sh