-
-
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 #4249 from ccordoba12/test-pyqt5-wheels
PR: Run our tests with PyQt5 wheels on CircleCI
- Loading branch information
Showing
4 changed files
with
51 additions
and
22 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,34 @@ | ||
#!/bin/bash | ||
|
||
# We use container 3 to run our tests with pip packages | ||
if [ "$CIRCLE_NODE_INDEX" = "3" ]; then | ||
export PIP_DEPENDENCIES_FLAGS="-q" | ||
export PIP_DEPENDENCIES="pyqt5 coveralls" | ||
export CONDA_DEPENDENCIES="" | ||
else | ||
export CONDA_DEPENDENCIES_FLAGS="--quiet" | ||
export CONDA_DEPENDENCIES="rope jedi pyflakes sphinx pygments pylint pep8 psutil nbconvert \ | ||
qtawesome pickleshare qtpy pyzmq chardet mock nomkl pandas \ | ||
pytest pytest-cov numpydoc scipy" | ||
export PIP_DEPENDENCIES="coveralls pytest-qt flaky" | ||
fi | ||
|
||
|
||
# Download and install miniconda and conda/pip dependencies | ||
# with astropy helpers | ||
export PY_VERSIONS=($PY_VERSIONS) | ||
export TRAVIS_PYTHON_VERSION=${PY_VERSIONS[$CIRCLE_NODE_INDEX]} | ||
echo -e "PYTHON = $TRAVIS_PYTHON_VERSION \n============" | ||
git clone git://github.com/astropy/ci-helpers.git > /dev/null | ||
source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh | ||
export PATH="$HOME/miniconda/bin:$PATH" | ||
source activate test | ||
|
||
|
||
# Install Spyder | ||
if [ "$CIRCLE_NODE_INDEX" = "3" ]; then | ||
pip install -e .[test] > /dev/null | ||
else | ||
conda install -q ciocheck -c spyder-ide --no-update-deps | ||
python setup.py install > /dev/null | ||
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
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