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

language: python

# cache miniconda installer and similar files
cache:
  directories:
  - /home/travis/download

Eli Uriegas's avatar
Eli Uriegas committed
11
# This matrix tests that the code works on Python 3.5, 3.6, 3.7, passes
12
# lint and example tests.
13
matrix:
14
  fast_finish: true
15
  include:
16
    - env: PYTHON_VERSION="3.6" RUN_EXAMPLE_TESTS="true" SKIP_TESTS="true"
17
  allow_failures:
18
    - env: PYTHON_VERSION="3.6" RUN_EXAMPLE_TESTS="true" SKIP_TESTS="true"
19

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

notifications:
  email: false

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