https://github.com/GeoPyTool/GeoPyTool
Tip revision: 9cb5bd975ed84db46065506ef66765587e2b3327 authored by Frederick on 17 February 2024, 17:35:43 UTC
add Wayland support for Linux
add Wayland support for Linux
Tip revision: 9cb5bd9
.travis.yml
dist: xenial
language: python
python:
- "3.6"
# command to install dependencies
install:
- pip install -r requirements.txt
# command to run tests
script:
# - pip install geopytool
# - pytest # or py.test for Python versions 3.5 and below
# - "export DISPLAY=:99.0"
- export DISPLAY=":1"
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then sh -e /etc/init.d/xvfb start; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ( sudo Xvfb :99 -ac -screen 0 1024x768x8; echo ok )& fi
- sleep 3 # give xvfb some time to start
- python setup.py install