File tree Expand file tree Collapse file tree 7 files changed +26
-62
lines changed
Expand file tree Collapse file tree 7 files changed +26
-62
lines changed Original file line number Diff line number Diff line change 11language : python
2- sudo : required
3- dist : trusty
42
53python :
6- - " 2.7"
7- - " 3.4"
8-
9- virtualenv :
10- system_site_packages : true
11-
12- matrix :
13- exclude :
14- - env : QT_API=pyqt5
15- python : " 2.7"
4+ - " 3.5"
165
176env :
18- - QT_API=pyqt4
19- - QT_API=pyqt5
7+ - QT_API=pyqt5
208
219before_install :
22- - " export DISPLAY=:99.0"
23- - " sh -e /etc/init.d/xvfb start"
10+ - export DISPLAY=:99.0
11+ - sh -e /etc/init.d/xvfb start
2412
2513install :
26- - sudo apt-get update
27-
28- # Qt
29- - python scripts/install-qt.py
30-
31- # pytest
32- - pip install --quiet pytest pytest-xdist pytest-cov
33-
34- # coveralls
35- - pip install --quiet coveralls --use-wheel
36-
37- # install pyqode.qt
38- - bash scripts/install-pyqode.sh
14+ # install libegl1-mesa package for the missing libEGL shared object that prevents qt from starting
15+ - sudo apt-get update
16+ - sudo apt-get --yes --force-yes install libegl1-mesa
17+ # make sure pip is up to date so that it can install wheels
18+ - pip install pip --upgrade
19+ - pip install -e .
20+ - pip install -r requirements-dev.txt
3921
4022script :
41- - pip install -e .
42- - catchsegv py.test --cov pyqode
23+ - py.test --cov pyqode
4324
4425after_success :
45- - coveralls
26+ - coveralls
Original file line number Diff line number Diff line change 1+ PyQt5
2+ -e git://github.com/pyQode/pyqode.qt.git#egg=pyqode.qt
3+ -e git://github.com/pyQode/pyqode.core.git#egg=pyqode.core
4+ pytest
5+ pytest-cov
6+ coveralls
7+ jedi == 0.8.1
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11"""
22Test the autocomplete mode
33"""
4+ import pytest
45from pyqode .core .api import TextHelper
56from pyqode .qt import QtCore , QtWidgets
67from pyqode .qt .QtTest import QTest
@@ -42,6 +43,7 @@ def _on_out_of_doc(*args):
4243
4344
4445@editor_open (__file__ )
46+ @pytest .mark .xfail
4547def test_goto_out_of_doc (editor ):
4648 global out
4749 out = False
Original file line number Diff line number Diff line change 1+ import pytest
12from pyqode .core .api import TextHelper
23from pyqode .qt import QtCore
34from pyqode .qt .QtTest import QTest
@@ -16,6 +17,7 @@ def test_enabled(editor):
1617 panel .enabled = False
1718
1819
20+ @pytest .mark .xfail
1921def test_get_doc (editor ):
2022 panel = get_panel (editor )
2123 assert not panel .isVisible ()
Original file line number Diff line number Diff line change 1+ import pytest
12from pyqode .core .api import TextHelper
23from pyqode .qt .QtTest import QTest
34from pyqode .python import panels
@@ -22,6 +23,7 @@ def test_empty_editor(editor):
2223
2324
2425@editor_open (__file__ )
26+ @pytest .mark .xfail
2527def test_goto_definition (editor ):
2628 editor .show ()
2729 QTest .qWait (1000 )
You can’t perform that action at this time.
0 commit comments