lutris/.travis.yml

44 lines
1 KiB
YAML
Raw Normal View History

dist: bionic
2017-03-03 19:23:30 +00:00
language: python
python:
- "3.6"
2020-04-26 14:34:56 +00:00
env:
- PIPENV_VERBOSITY=-1
virtualenv:
system_site_packages: true
2019-01-14 19:43:54 +00:00
services:
- xvfb
2019-01-15 02:28:51 +00:00
addons:
apt:
2020-04-26 17:28:26 +00:00
update: true
2019-01-15 02:28:51 +00:00
packages:
- xvfb
2020-04-26 17:28:26 +00:00
- 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
2020-04-26 18:18:12 +00:00
- at-spi2-core
before_install:
2017-03-05 23:40:23 +00:00
- "export DISPLAY=:99.0"
2019-01-15 02:28:51 +00:00
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
2017-03-05 23:40:23 +00:00
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
2019-01-14 19:45:23 +00:00
- sleep 3 # Give xvfb some time to start
2017-03-03 19:23:30 +00:00
install:
- pip install --upgrade pip pypresence~=3.3.2 pipenv
- pipenv install --dev --deploy --ignore-pipfile
script:
- make check
- nosetests
2017-03-03 19:23:30 +00:00
# Cache the pip dependencies
2019-01-15 02:28:51 +00:00
cache: pip