Skip to content

Commit f39597b

Browse files
committed
removing install pytest from travis and run_pytest; both travis and circle run pip install requirements.txt first (circle is building new containers that depend on the current version of the file)
1 parent e895990 commit f39597b

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ install:
3232
- function inst {
3333
conda config --add channels conda-forge &&
3434
conda update --yes conda &&
35-
conda update --all -y python=$TRAVIS_PYTHON_VERSION pytest &&
35+
conda update --all -y python=$TRAVIS_PYTHON_VERSION &&
3636
conda install -y nipype &&
3737
rm -r /home/travis/miniconda/lib/python${TRAVIS_PYTHON_VERSION}/site-packages/nipype* &&
3838
pip install -r requirements.txt &&

docker/circleci/run_pytests.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,9 @@ if [[ "${PYTHON_VERSION}" -lt "30" ]]; then
2121
fi
2222

2323
# Run tests using pytest
24-
# NOTE_dj: this has to be improved, help needed.
25-
# NOTE_dj: pip install can be probably moved to dockerfiles
2624
# NOTE_dj: not sure about --xunit-file part (not using with pytest for now)
2725
cd /root/src/nipype/
2826
make clean
29-
conda install pytest
30-
pip install pytest-raisesregexp
31-
conda install pytest-cov
32-
conda install click
3327
py.test --doctest-modules --cov-report xml:/scratch/coverage_py${PYTHON_VERSION}.xml --cov=nipype nipype
3428
#nosetests -s nipype -c /root/src/nipype/.noserc --xunit-file="/scratch/nosetests_py${PYTHON_VERSION}.xml" --cover-xml-file="/scratch/coverage_py${PYTHON_VERSION}.xml"
3529

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ xvfbwrapper
1212
psutil
1313
funcsigs
1414
configparser
15-
doctest-ignore-unicode
1615
pytest>=3.0
1716
pytest-raisesregexp
1817
pytest-cov

0 commit comments

Comments
 (0)