Skip to content

Commit

Permalink
Testing: Move Python 2.7/PyQt5 tests to Travis too
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed May 22, 2017
1 parent 4fed52c commit 87f700c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ sudo: false

matrix:
include:
# This never ends!
#- python: "2.7"
# env: TEST_MODULES=false
# os: linux
- python: "2.7"
env: TEST_MODULES=false USE_PYQT=pyqt5
os: linux
- python: "2.7"
env: TEST_MODULES=true USE_PYQT=pyqt4
os: linux
Expand All @@ -19,6 +18,8 @@ matrix:
- python: "3.5"
env: TEST_MODULES=true USE_PYQT=pyqt4
os: linux
# This slot test runs our tests only with pip
# packages
- python: "3.5"
env: TEST_MODULES=false USE_PYQT=pyqt5
os: linux
Expand Down
7 changes: 5 additions & 2 deletions continuous_integration/travis/test-qt5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ else
conda install -q qt=5.* pyqt=5.* qtconsole matplotlib
fi


python runtests.py
if [ "$TRAVIS_PYTHON_VERSION" = "2.7" ]; then
timeout --preserve-status --kill-after=15m 15m python runtests.py
else
python runtests.py
fi

0 comments on commit 87f700c

Please sign in to comment.