Skip to content

Commit 7ba951d

Browse files
Added mock dependency to travis, appveyor config files and noted in docs.
1 parent dc3b6ad commit 7ba951d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ before_install:
8888
- source venv/bin/activate
8989
- python --version # just to check
9090
- pip install -U pip wheel # upgrade to latest pip find 3.5 wheels; wheel to avoid errors
91-
- retry pip install nose flake8 # always
91+
- retry pip install nose flake8 mock # always
9292
- wheelhouse_pip_install $EXTRA_PIP_FLAGS $DEPENDS
9393
# pydicom <= 0.9.8 doesn't install on python 3
9494
- if [ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]; then

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ install:
4646
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
4747

4848
# Install the dependencies of the project.
49-
- "conda install --yes --quiet numpy scipy matplotlib nose h5py"
49+
- "conda install --yes --quiet numpy scipy matplotlib nose h5py mock"
5050
- "pip install pydicom"
5151
- "python setup.py install"
5252
- "SET NIBABEL_DATA_DIR=%CD%\\nibabel-data"

doc/source/installation.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ Requirements
9292
* PyDICOM_ 0.9.7 or greater (optional, for DICOM support)
9393
* `Python Imaging Library`_ (optional, for PNG conversion in DICOMFS)
9494
* nose_ 0.11 or greater (optional, to run the tests)
95+
* mock_ (optional, to run the tests)
9596
* sphinx_ (optional, to build the documentation)
9697

9798
Get the development sources

0 commit comments

Comments
 (0)