-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ZMQ sockets to communicate results of pytest run #114
Changes from 2 commits
0c4bc5f
2187364
5645e29
43226db
44f860e
0e0e7f3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ matrix: | |
|
||
branches: | ||
only: | ||
- master | ||
- master | ||
|
||
environment: | ||
global: | ||
|
@@ -18,7 +18,7 @@ environment: | |
PYTHON_ARCH: "64" # needs to be set for CMD_IN_ENV to succeed. If a mix | ||
# of 32 bit and 64 bit builds are needed, move this | ||
# to the matrix section. | ||
CONDA_DEPENDENCIES: "lxml mock nose pytest spyder" | ||
CONDA_DEPENDENCIES: "lxml mock nose pytest spyder zmq" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pyzmq |
||
PIP_DEPENDENCIES_2: "coveralls pytest-qt" # Fix when fixed upstream | ||
|
||
matrix: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,14 +13,14 @@ machine: | |
COVERALLS_REPO_TOKEN: c5Qt1n27dLFCAIESYVkuCmVpUU8doney1 | ||
# Environment variables used by astropy helpers | ||
TRAVIS_OS_NAME: "linux" | ||
CONDA_DEPENDENCIES: "lxml mock nose pytest" | ||
CONDA_DEPENDENCIES: "lxml mock nose pytest zmq" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pyzmq |
||
PIP_DEPENDENCIES: "coveralls pytest-qt" | ||
|
||
dependencies: | ||
override: | ||
# First convert PY_VERSIONS to an array and then select the python version based on the CIRCLE_NODE_INDEX | ||
- export PY_VERSIONS=($PY_VERSIONS) && | ||
export TRAVIS_PYTHON_VERSION=${PY_VERSIONS[$CIRCLE_NODE_INDEX]} && | ||
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 && | ||
source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh && | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ requirements: | |
- lxml | ||
- python | ||
- spyder >=3 | ||
- zmq | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pyzmq |
||
|
||
test: | ||
imports: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ def get_package_data(name, extlist): | |
|
||
|
||
# Requirements | ||
REQUIREMENTS = ['lxml', 'spyder>=3'] | ||
REQUIREMENTS = ['lxml', 'spyder>=3', 'zmq'] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Python package is called |
||
EXTLIST = ['.jpg', '.png', '.json', '.mo', '.ini'] | ||
LIBNAME = 'spyder_unittest' | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pyzmq