Skip to content

Commit 25ce82e

Browse files
committed
Fix missing channels and dependencies
1 parent c209f5a commit 25ce82e

File tree

2 files changed

+31
-15
lines changed

2 files changed

+31
-15
lines changed

.travis.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,21 @@ language: c
55

66
sudo: false
77

8+
branches:
9+
only:
10+
- master
11+
812
os:
913
- linux
1014
- osx
1115

1216
env:
1317
global:
1418
- SETUP_XVFB=True
15-
- CONDA_DEPENDENCIES='pytest'
19+
- CONDA_CHANNELS="spyder-ide qttesting"
20+
- CONDA_DEPENDENCIES="pytest pytest-cov"
21+
- PIP_DEPENDENCIES="coveralls"
22+
1623
matrix:
1724
- PYTHON_VERSION=2.7 USE_QT_API=PyQt5
1825
- PYTHON_VERSION=2.7 USE_QT_API=PyQt4
@@ -24,12 +31,12 @@ env:
2431
before_install:
2532
# Test environments for different Qt bindings
2633
- if [[ "$USE_QT_API" == "PyQt5" ]]; then
27-
export CONDA_DEPENDENCIES='qt5 pyqt5 '$CONDA_DEPENDENCIES;
34+
export CONDA_DEPENDENCIES='qt=5.* pyqt=5.* '$CONDA_DEPENDENCIES;
2835
export CONDA_CHANNELS='spyder-ide';
2936
elif [[ "$USE_QT_API" == "PyQt4" ]]; then
30-
export CONDA_DEPENDENCIES='qt pyqt '$CONDA_DEPENDENCIES;
37+
export CONDA_DEPENDENCIES='qt=4.* pyqt=4.* '$CONDA_DEPENDENCIES;
3138
elif [[ "$USE_QT_API" == "PySide" ]]; then
32-
export CONDA_DEPENDENCIES='qt pyside '$CONDA_DEPENDENCIES;
39+
export CONDA_DEPENDENCIES='qt=4.* pyside '$CONDA_DEPENDENCIES;
3340
fi
3441

3542
install:

appveyor.yml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,34 @@
1-
environment:
1+
# https://ci.appveyor.com/project/goanpeca/qtpy
2+
3+
branches:
4+
only:
5+
- master
26

7+
environment:
38
global:
49
PYTHON: "C:\\conda"
510
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci-helpers\\appveyor\\windows_sdk.cmd"
611
PYTHON_ARCH: "64" # needs to be set for CMD_IN_ENV to succeed. If a mix
712
# of 32 bit and 64 bit builds are needed, move this
813
# to the matrix section.
14+
# Used by atropy ci-helpers
15+
CONDA_CHANNELS: "spyder-ide qttesting"
916

1017
matrix:
11-
12-
# - PYTHON_VERSION: "2.7"
13-
# CONDA_CHANNELS: "msarahan"
14-
# CONDA_DEPENDENCIES: "pytest qt5 pyqt5"
18+
# Qt4
19+
- PYTHON_VERSION: "2.7"
20+
CONDA_DEPENDENCIES: "pytest pytest-cov qt=4.* pyside"
1521
- PYTHON_VERSION: "2.7"
16-
CONDA_DEPENDENCIES: "pytest qt pyqt"
22+
CONDA_DEPENDENCIES: "pytest pytest-cov qt=4.* pyqt=4.*"
23+
- PYTHON_VERSION: "3.4"
24+
CONDA_DEPENDENCIES: "pytest pytest-cov qt=4.* pyqt=4.*"
25+
- PYTHON_VERSION: "3.5"
26+
CONDA_DEPENDENCIES: "pytest pytest-cov qt=4.* pyqt=4.*"
27+
# Qt5
1728
- PYTHON_VERSION: "2.7"
18-
CONDA_DEPENDENCIES: "pytest qt pyside"
19-
# - PYTHON_VERSION: "3.5"
20-
# CONDA_CHANNELS: "msarahan"
21-
# CONDA_DEPENDENCIES: "pytest qt5 pyqt5"
29+
CONDA_DEPENDENCIES: "pytest pytest-cov qt=5.* pyqt=5.*"
2230
- PYTHON_VERSION: "3.5"
23-
CONDA_DEPENDENCIES: "pytest qt pyqt"
31+
CONDA_DEPENDENCIES: "pytest pytest-cov qt=5.* pyqt=5.*"
2432

2533
platform:
2634
-x64
@@ -30,6 +38,7 @@ install:
3038
- "powershell ci-helpers/appveyor/install-miniconda.ps1"
3139
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
3240
- "activate test"
41+
- "python setup.py install"
3342

3443
# Not a .NET project, we build in the install step instead
3544
build: false

0 commit comments

Comments
 (0)