forked from BoboTiG/python-mss
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (26 loc) · 677 Bytes
/
.travis.yml
File metadata and controls
32 lines (26 loc) · 677 Bytes
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
language: python
python:
- 2.7
- 3.5
- 3.6
- nightly # currently points to 3.7-dev
addons:
apt:
packages:
- xpra
- xserver-xorg-video-dummy
before_install:
- xpra --xvfb="Xorg +extension RANDR -config `pwd`/tests/res/dummy.xorg.conf -logfile ${HOME}/.xpra/xorg.log" start :42
env:
- DISPLAY=":42"
install:
- pip install flake8 numpy pillow pylint sphinx
- pip install -e .
script:
- py.test --showlocals --display=":42.0"
- flake8 .
- if [[ $TRAVIS_PYTHON_VERSION < '3.7' ]]; then pylint mss; fi
- if [[ $TRAVIS_PYTHON_VERSION > '2.8' ]]; then cd docs && make clean html; fi
after_script:
- xpra stop :42
- cat ~/.xpra/*.log