mirror of
https://github.com/lutris/lutris
synced 2024-09-05 23:46:21 +00:00
![Aaron Opfer](/assets/img/avatar_default.png)
Makes it slightly easier to identify what game a particular lutris-wrapper instance is responsible for.
26 lines
802 B
YAML
26 lines
802 B
YAML
dist: xenial
|
|
language: python
|
|
python:
|
|
- "3.5"
|
|
virtualenv:
|
|
system_site_packages: true
|
|
services:
|
|
- xvfb
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- xvfb
|
|
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
|
|
- sudo apt-get -qq update
|
|
- sudo apt-get install -y python3-yaml python3-gi python3-pil python3-setproctitle 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
|
|
script: nosetests
|
|
|
|
# Cache the pip dependencies
|
|
cache: pip
|