mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-07 11:28:14 +08:00
Merge pull request #1633 from JDWarner/fix_travis_networkx
FIX: Require networkx 1.9.1 for the 2.6 build
This commit is contained in:
@@ -32,6 +32,11 @@ retry () {
|
||||
# add build dependencies
|
||||
echo "cython>=0.21" >> requirements.txt
|
||||
|
||||
# require networkx 1.9.1 on 2.6, as 2.6 support was dropped in 1.10
|
||||
if [[ $TRAVIS_PYTHON_VERSION == 2.6* ]]; then
|
||||
sed -i 's/networkx.*/networkx==1.9.1/g' requirements.txt
|
||||
fi
|
||||
|
||||
# test minimum requirements on 2.7
|
||||
if [[ $TRAVIS_PYTHON_VERSION == 2.7* ]]; then
|
||||
sed -i 's/>=/==/g' requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user