forked from librosa/librosa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (35 loc) · 818 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
37
38
39
40
41
42
43
44
45
46
sudo: false
addons:
apt:
packages:
- ffmpeg
cache:
directories:
- $HOME/env
language: python
notifications:
email: false
python:
- "2.7"
- "3.4"
- "3.5"
env:
- ENABLE_NUMBA=false
- ENABLE_NUMBA=true
before_install:
- bash .travis_dependencies.sh
- export PATH="$HOME/env/miniconda$TRAVIS_PYTHON_VERSION/bin:$PATH";
- hash -r
- source activate test-environment
install:
# install your own package into the environment
# pip install -e rather than setup.py, so that coverage can find the source
- pip install -e .[display]
script:
- python --version
- nosetests --with-coverage --cover-erase --cover-package=librosa -v -w tests/
after_success:
- coveralls
- pip uninstall -y librosa
after_failure:
- pip uninstall -y librosa