-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4230 from ccordoba12/run-tests-on-pyqt4
PR: Run tests for PyQt4 and Python 3.6 on CircleCI
- Loading branch information
Showing
3 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
export PATH="$HOME/miniconda/bin:$PATH" | ||
|
||
source activate test | ||
|
||
# Only run tests for PyQt4 in Python 2.7 and 3.5 | ||
export PY_VERSIONS=($PY_VERSIONS) | ||
export PY_VERSION=${PY_VERSIONS[$CIRCLE_NODE_INDEX]} | ||
|
||
if [ "$PY_VERSION" = "2.7" ] || [ "$PY_VERSION" = "3.5" ]; then | ||
conda install -q qt=4.* pyqt=4.* | ||
python runtests.py | ||
else | ||
exit 0 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
export PATH="$HOME/miniconda/bin:$PATH" | ||
|
||
source activate test | ||
|
||
conda install -q qt=5.* pyqt=5.* qtconsole matplotlib | ||
|
||
python runtests.py | ||
|
||
# Run coveralls also here because there are errors if run | ||
# as an independent command | ||
coveralls |