GUI tests working locally when headless.

This commit is contained in:
Veronica K. B. Olsen
2019-05-17 01:55:37 +02:00
parent 13cb526ff5
commit bc39ec7886
4 changed files with 53 additions and 32 deletions
+4 -3
View File
@@ -1,4 +1,6 @@
dist: xenial
# services:
# - xvfb
language: python
sudo: required
addons:
@@ -6,16 +8,15 @@ addons:
packages:
- libenchant-dev
python:
# - "3.5"
# - "3.6"
- "3.7"
# - "3.8-dev"
install:
- pip install -r requirements.txt
# - pip install pytest-faulthandler
- pip install pytest-cov
# - pip install pytest-qt
- pip install codecov
script:
# - xvfb-run -a python -m pytest --cov=nw -m "project|core|gui" -v -s
- python -m pytest --cov=nw -m "project|core" -v
after_success:
- codecov