Skip to content

Commit

Permalink
Enabling more envs using conda packages
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Apr 6, 2015
1 parent 49ab08c commit c738137
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
language: python

python:
# - "2.7"
- "3.4"
- 2.7
- 3.4

#virtualenv:
# system_site_packages: true

matrix:
allow_failures:
# unfortunately couldn't find a reliable way to test pyqt5 on travis yet
- env: PYTEST_VERSION=2.7.0 PYTEST_QT_API=pyqt5
# couldn't build pyside with python 3.4
- env: PYTEST_VERSION=2.7.0 PYTEST_QT_API=pyside
python: 3.4

env:
#- PYTEST_VERSION=2.6.4 PYTEST_QT_API=pyqt4
#- PYTEST_VERSION=2.6.4 PYTEST_QT_API=pyside
- PYTEST_VERSION=2.7.0 PYTEST_QT_API=pyqt4
#- PYTEST_VERSION=2.7.0 PYTEST_QT_API=pyside
#- PYTEST_VERSION=2.7.0 PYTEST_QT_API=pyqt5
- PYTEST_VERSION=2.7.0 PYTEST_QT_API=pyside
- PYTEST_VERSION=2.7.0 PYTEST_QT_API=pyqt5

install:
- sudo apt-get update
Expand Down Expand Up @@ -65,7 +63,9 @@ before_script:
- sleep 3

script:
- export QT_QPA_PLATFORM_PLUGIN_PATH=$HOME/miniconda/envs/test-environment/lib/qt5/plugins/platforms
- if [[ "$PYTEST_QT_API" == "pyqt5" ]]; then
export QT_QPA_PLATFORM_PLUGIN_PATH=$HOME/miniconda/envs/test-environment/lib/qt5/plugins/platforms;
fi
- coverage run --source=pytestqt setup.py test

after_success:
Expand Down

0 comments on commit c738137

Please sign in to comment.