Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
constverum committed Nov 5, 2017
1 parent 87df9fb commit f0ee3b7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
language: python
python:
- 3.5
- 3.6
os:
- linux
install:
- pip install -r requirements.txt
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script: python setup.py test
deploy:
provider: pypi
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Features
Requirements
------------

* Python **3.5** or higher
* Python **3.6** or higher
* `PyQt5 <https://pypi.python.org/pypi/PyQt5>`_
* `PyQtGraph <http://www.pyqtgraph.org/>`_
* `NumPy <http://www.numpy.org/>`_
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
Expand Down
5 changes: 4 additions & 1 deletion tests/test_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

def test_init(qtbot):
widget = MainWidget()
widget.show()
qtbot.addWidget(widget)

widget.show()

assert widget.isVisible()
# contains only the Data tab
assert widget.count() == 1

0 comments on commit f0ee3b7

Please sign in to comment.