-
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing: Simplify testing on CircleCI
- Loading branch information
1 parent
1865ddd
commit b7f34eb
Showing
4 changed files
with
63 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
export PATH="$HOME/miniconda/bin:$PATH" | ||
source activate test | ||
|
||
# We use container 3 to test with pip and pyqt5 | ||
if [ "$CIRCLE_NODE_INDEX" = "3" ]; then | ||
exit 0 | ||
else | ||
conda remove -q qt pyqt | ||
conda install -q qt=4.* pyqt=4.* | ||
fi | ||
|
||
python qtpy/tests/runtests.py | ||
|
||
# Force quitting if exit status of runtests.py was not 0 | ||
if [ $? -ne 0 ]; then | ||
exit 1 | ||
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,18 @@ | ||
#!/bin/bash | ||
|
||
export PATH="$HOME/miniconda/bin:$PATH" | ||
source activate test | ||
|
||
# We use container 3 to test with pip | ||
if [ "$CIRCLE_NODE_INDEX" != "3" ]; then | ||
conda install -q qt=5.* pyqt=5.* | ||
else | ||
pip install -q pyqt5 | ||
fi | ||
|
||
python qtpy/tests/runtests.py | ||
|
||
# Force quitting if exit status of runtests.py was not 0 | ||
if [ $? -ne 0 ]; then | ||
exit 1 | ||
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,19 @@ | ||
#!/bin/bash | ||
|
||
export PATH="$HOME/miniconda/bin:$PATH" | ||
source activate test | ||
|
||
# We use container 3 to test with pip and pyqt5 | ||
if [ "$CIRCLE_NODE_INDEX" = "3" ]; then | ||
exit 0 | ||
else | ||
conda remove -q qt pyqt | ||
conda install -q -c conda-forge qt=4.* pyside | ||
fi | ||
|
||
python qtpy/tests/runtests.py | ||
|
||
# Force quitting if exit status of runtests.py was not 0 | ||
if [ $? -ne 0 ]; then | ||
exit 1 | ||
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