-
Notifications
You must be signed in to change notification settings - Fork 58
/
.travis.yml
42 lines (34 loc) · 965 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
dist: xenial
language: python
notifications:
email: false
python:
# - "2.7" # byeeeee forever
# - "3.5" # tensorflow 2 does not support
- "3.6"
- "3.7"
- "3.8"
before_install:
- pip install python-coveralls
- pip install "pytest-faulthandler>=1.5.0,<2.0.0"
- pip install pytest-cov
- sudo add-apt-repository -y ppa:mc3man/xerus-media
- sudo apt-get update
- sudo apt-get install -y ffmpeg
- ffmpeg -hwaccels
install:
# - pip install "tensorflow>=1.12.0,<1.14.0"
- pip install 'Cython>=0.23.4'
- pip install pytest
- pip install -e .[tests]
#before_script:
# - pep8 tests
script:
# - nosetests -v --with-coverage --cover-package=mir_eval
# - python setup.py build_sphinx
# - python setup.py egg_info -b.dev sdist --formats gztar
- while sleep 9m; do echo "=====[ $SECONDS seconds still running ]====="; done &
- py.test
- kill %1
after_success:
- coveralls