-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path.travis.yml
40 lines (33 loc) · 883 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
language:
- python
python:
- "3.6"
cache:
pip: true
bundler: true
directories:
- /tmp/dcase_util_datasets
notifications:
email: false
before_install:
- "sudo apt-get install -qq python-scipy"
- "sudo apt-get install libav-tools"
# command to install dependencies
install:
- "pip install scikit-learn==0.20.3"
- "pip install llvmlite==0.31.0"
- "pip install -r requirements.txt"
- "pip install python-coveralls"
- "pip install coveralls"
- "pip install nose"
- "pip install librosa"
- "pip install ipython"
- "python setup.py develop"
# command to run tests
script:
- "travis_wait nosetests --with-coverage --cover-erase --nocapture --cover-package=dcase_util -v -w tests/"
after_success:
- "coveralls"
- "python setup.py develop --uninstall"
after_failure:
- "python setup.py develop --uninstall"