forked from lutris/lutris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (42 loc) · 1 KB
/
.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
43
dist: bionic
language: python
python:
- "3.6"
env:
- PIPENV_VERBOSITY=-1
virtualenv:
system_site_packages: true
services:
- xvfb
addons:
apt:
update: true
packages:
- xvfb
- libdbus-1-dev
- python3-yaml
- python3-gi
- python3-pil
- python3-setproctitle
- python3-distro
- gir1.2-gtk-3.0
- psmisc
- gir1.2-glib-2.0
- libgirepository1.0-dev
- gir1.2-gnomedesktop-3.0
- gir1.2-webkit2-4.0
- gir1.2-notify-0.7
- at-spi2-core
before_install:
- "export DISPLAY=:99.0"
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
- sleep 3 # Give xvfb some time to start
install:
- pip install --upgrade pip pypresence~=3.3.2 pipenv
- pipenv install --dev --deploy --ignore-pipfile
script:
- make check
- nosetests
# Cache the pip dependencies
cache: pip