-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
34 lines (31 loc) · 991 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
#specs for travis ci
language: python
dist: xenial
os: linux
cache: false
stages:
- latest-pythons
jobs:
include:
- env: ISOLATED=true
dist: xenial
python: '3.7'
stage: latest-pythons
before_install:
- pip install -U pip
- pip install attrs==19.1.0
- pip install pytest codecov
- pip install "pytest-cov>=2.4.0,<2.6"
- export PYTHONPATH=$PYTHONPATH:$(pwd)
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y ppa:mc3man/xerus-media; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y ffmpeg --allow-unauthenticated; fi
install:
- pip install --upgrade importlib_metadata
- pip install -e .
before_script:
- ./scripts/download_test_dataset.sh
script:
- pytest --cov=./tests/
after_success:
- codecov -t $CC_TEST_REPORTER_ID