FIX: Require networkx 1.9.1 for the 2.6 build

This commit is contained in:
Josh Warner
2015-08-13 17:39:25 -05:00
parent b63fefe135
commit 4309d47239
+5
View File
@@ -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