-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 817 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
language: python
python:
- "3.6"
sudo: required
addons:
apt:
sources:
- sourceline: "deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe"
packages:
- xvfb
install:
- "pip install -r requirements.txt"
- pip install coverage
- pip install codecov
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script:
# - coverage run --source=. -m unittest discover -s test
# - coverage report -m
- python -m unittest discover -s test
# -Please note: If this fails there may be a problem with the versions of the applications in requirements.txt
# This was a problem for Qt 5.10, for more info see this page: https://bugreports.qt.io/browse/QTBUG-64928
#after_success:
# - codecov
notifications:
email: false