Skip to content

Commit

Permalink
Do not test Python 3.6 with PyQt4 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jitseniesen committed Apr 14, 2017
1 parent fce5a75 commit ae2afb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ env:
- TRAVIS_PYTHON_VERSION=3.5 USE_QT_API=PyQt5 PYTEST_QT_API=pyqt5
- TRAVIS_PYTHON_VERSION=2.7 USE_QT_API=PyQt5 PYTEST_QT_API=pyqt5
# PyQt4
- TRAVIS_PYTHON_VERSION=3.6 USE_QT_API=PyQt4 PYTEST_QT_API=pyqt4v2
- TRAVIS_PYTHON_VERSION=3.5 USE_QT_API=PyQt4 PYTEST_QT_API=pyqt4v2
- TRAVIS_PYTHON_VERSION=2.7 USE_QT_API=PyQt4 PYTEST_QT_API=pyqt4v2

Expand Down
8 changes: 4 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ test:
# Check PySide2
# - export PATH="$HOME/miniconda/bin:$PATH" && source activate test && export PYTEST_QT_API="pyside2" && conda install qt=5.* pyside2 && py.test spyder_unittest --cov=spyder_unittest: # note the colon
# parallel: true
# Check PyQt4
- export PATH="$HOME/miniconda/bin:$PATH" && source activate test && export PYTEST_QT_API="pyqt4v2" && conda install qt=4.* pyqt=4.* && spyder --reset && spyder && py.test spyder_unittest --cov=spyder_unittest: # note the colon
# Check PyQt4 (but not on Python 3.6)
- if [ "$CIRCLE_NODE_INDEX" != "0" ]; then echo check && export PATH="$HOME/miniconda/bin:$PATH" && source activate test && export PYTEST_QT_API="pyqt4v2" && conda install qt=4.* pyqt=4.* && spyder --reset && spyder && py.test spyder_unittest --cov=spyder_unittest; fi: # note the colon
parallel: true
# Check Pyside
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then export PATH="$HOME/miniconda/bin:$PATH" && source activate test && export PYTEST_QT_API="pyside" && conda install qt=4.* pyside && spyder --reset && spyder && py.test spyder_unittest --cov=spyder_unittest; fi: # note the colon
# Check Pyside (but only on Python 2.7)
- if [ "$CIRCLE_NODE_INDEX" = "2" ]; then export PATH="$HOME/miniconda/bin:$PATH" && source activate test && export PYTEST_QT_API="pyside" && conda install qt=4.* pyside && spyder --reset && spyder && py.test spyder_unittest --cov=spyder_unittest; fi: # note the colon
parallel: true
post:
- ls $HOME/miniconda/bin && export PATH="$HOME/miniconda/bin:$PATH" && source activate test && echo $PATH && coveralls

0 comments on commit ae2afb3

Please sign in to comment.