forked from librosa/librosa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (30 loc) · 817 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
sudo: false
cache:
directories:
- $HOME/env
language: python
notifications:
email: false
python:
- 2.7
- 3.5
- 3.6
before_install:
- bash .travis_dependencies.sh
- export PATH="$HOME/env/miniconda$TRAVIS_PYTHON_VERSION/bin:$PATH";
- hash -r
- source activate test-environment
- conda list
install:
# install your own package into the environment
# pip install -e rather than setup.py, so that coverage can find the source
- pip install --pre -e .[tests]
script:
- python --version
# - nosetests --with-coverage --cover-erase --cover-package=librosa -v -w tests/
- nosetests --with-coverage --cover-erase --cover-package=librosa -w tests/
after_success:
- coveralls
- pip uninstall -y librosa
after_failure:
- pip uninstall -y librosa