forked from urinieto/msaf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (38 loc) · 966 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
47
48
49
sudo: true
addons:
apt:
packages:
- ffmpeg
cache:
directories:
- $HOME/env
language: python
notifications:
email: false
python:
- "2.7"
- "3.4"
- "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
- sudo apt-get install liblapack-dev
before_script: # configure a headless display to test plot generation
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
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 .
script:
- python --version
- nosetests --with-coverage --cover-package=msaf -vs -w tests/
after_success:
- coveralls
- pip uninstall -y msaf
after_failure:
- pip uninstall -y msaf