Skip to content

Commit b5899cd

Browse files
committed
simplify conda installation
1 parent b67868f commit b5899cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ install:
3333
conda config --add channels conda-forge &&
3434
conda update --yes conda &&
3535
conda update --all -y python=$TRAVIS_PYTHON_VERSION &&
36-
conda install -y nipype &&
37-
rm -r /home/travis/anaconda/lib/python${TRAVIS_PYTHON_VERSION}/site-packages/nipype* &&
38-
pip install -r requirements.txt &&
36+
conda install -y $(sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/ /g' requirements.txt) &&
3937
pip install -e .[$NIPYPE_EXTRAS]; }
4038
- travis_retry inst
4139
script:

0 commit comments

Comments
 (0)