2020-01-06 08:54:48 +00:00
|
|
|
dist: bionic
|
2017-03-03 19:23:30 +00:00
|
|
|
language: python
|
|
|
|
python:
|
2021-02-08 20:28:59 +00:00
|
|
|
- "3.7"
|
|
|
|
- "3.8"
|
|
|
|
- "3.9"
|
2020-04-26 14:34:56 +00:00
|
|
|
env:
|
- Replaced pipenv with poetry
- Updated min version check in setup.py to Python 3.6
- Updated isort config file and calls to align with v5.x
- Added init-hook for gi imports in .pylintrc to avoid invalid no-member issues
- Makefile: added lock, show-tree, bandit, black, mypy; updated test, cover, dev, isort, autopep8, check, isort-check, flake8, pylint; removed req, requirements;
- Updated .travis.yml to use poetry and make
- Added my email in AUTHORS
- Updated CONTRIBUTING.md
- Updated lint_python.yml to use poetry and make, reorganized instructions to have all install related steps first
- sorted imports: lutris, lutris-wrapper, cleanup_prefix.py and multiple files in tests dir
2021-10-24 18:42:06 +00:00
|
|
|
- LUTRIS_SKIP_INIT=1
|
2018-12-19 22:38:49 +00:00
|
|
|
virtualenv:
|
2021-02-16 03:51:19 +00:00
|
|
|
system_site_packages: false
|
2019-01-14 19:43:54 +00:00
|
|
|
services:
|
2020-04-26 12:12:50 +00:00
|
|
|
- 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
|
2023-05-20 07:31:24 +00:00
|
|
|
- python3-gi-cairo
|
2020-04-26 17:28:26 +00:00
|
|
|
- python3-pil
|
|
|
|
- python3-setproctitle
|
|
|
|
- python3-distro
|
2020-10-01 10:08:34 +00:00
|
|
|
- python3-magic
|
2021-01-05 03:11:42 +00:00
|
|
|
- python3-lxml
|
2020-04-26 17:28:26 +00:00
|
|
|
- gir1.2-gtk-3.0
|
|
|
|
- psmisc
|
|
|
|
- gir1.2-glib-2.0
|
|
|
|
- libgirepository1.0-dev
|
|
|
|
- gir1.2-gnomedesktop-3.0
|
2022-12-02 21:51:03 +00:00
|
|
|
- gir1.2-webkit2-4.0
|
2022-12-02 21:51:18 +00:00
|
|
|
- gir1.2-notify-0.7
|
2020-04-26 18:18:12 +00:00
|
|
|
- at-spi2-core
|
2017-03-04 06:27:03 +00:00
|
|
|
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:
|
- Replaced pipenv with poetry
- Updated min version check in setup.py to Python 3.6
- Updated isort config file and calls to align with v5.x
- Added init-hook for gi imports in .pylintrc to avoid invalid no-member issues
- Makefile: added lock, show-tree, bandit, black, mypy; updated test, cover, dev, isort, autopep8, check, isort-check, flake8, pylint; removed req, requirements;
- Updated .travis.yml to use poetry and make
- Added my email in AUTHORS
- Updated CONTRIBUTING.md
- Updated lint_python.yml to use poetry and make, reorganized instructions to have all install related steps first
- sorted imports: lutris, lutris-wrapper, cleanup_prefix.py and multiple files in tests dir
2021-10-24 18:42:06 +00:00
|
|
|
- pip install --upgrade pip pypresence~=3.3.2 poetry
|
|
|
|
- poetry install --no-root
|
2020-04-26 12:12:50 +00:00
|
|
|
script:
|
- Replaced pipenv with poetry
- Updated min version check in setup.py to Python 3.6
- Updated isort config file and calls to align with v5.x
- Added init-hook for gi imports in .pylintrc to avoid invalid no-member issues
- Makefile: added lock, show-tree, bandit, black, mypy; updated test, cover, dev, isort, autopep8, check, isort-check, flake8, pylint; removed req, requirements;
- Updated .travis.yml to use poetry and make
- Added my email in AUTHORS
- Updated CONTRIBUTING.md
- Updated lint_python.yml to use poetry and make, reorganized instructions to have all install related steps first
- sorted imports: lutris, lutris-wrapper, cleanup_prefix.py and multiple files in tests dir
2021-10-24 18:42:06 +00:00
|
|
|
- make isort-check
|
|
|
|
- make flake8
|
|
|
|
- make pylint
|
2020-04-26 12:12:50 +00:00
|
|
|
- nosetests
|
2017-03-03 19:23:30 +00:00
|
|
|
|
2019-01-14 19:35:20 +00:00
|
|
|
# Cache the pip dependencies
|
2019-01-15 02:28:51 +00:00
|
|
|
cache: pip
|