forked from feeluown/FeelUOwn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (30 loc) · 858 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
dist: xenial
services:
- xvfb
sudo: required
language: python
python:
- 3.6
- 3.7
- 3.8
env:
TEST_ENV: travis
install:
- sudo apt-get install libmpv1 -y --force-yes
# https://github.com/pytest-dev/pytest-qt/issues/266
- sudo apt-get install -y libdbus-1-3 libxkbcommon-x11-0
# travis will auto create a virtualenv, as a result,
# we can't import from system site-package
# - sudo apt-get install python3-dbus python3-dbus.mainloop.pyqt5 -y
#
# TODO: think about a way to test mpris2 in travis environment
- pip install pyqt5==5.14.0
- pip install coveralls
- pip install sphinx_rtd_theme
- pip install 'pytest>=5.4.0' flake8 pytest-cov pytest-asyncio pytest-qt pytest-mock --upgrade
- pip install -e .
script:
- make test
- make integration_test
after_success:
- coveralls