Removed Python 2.6 support and related checks

This commit is contained in:
Egor Panfilov
2016-04-02 00:03:48 +03:00
parent a8dc808738
commit 0e6ccabd93
9 changed files with 36 additions and 56 deletions
-7
View File
@@ -32,13 +32,6 @@ retry () {
# add build dependencies
echo "cython>=0.23.4" >> requirements.txt
# require networkx 1.9.1 on 2.6, as 2.6 support was dropped in 1.10
# require matplotlib 1.4.3 on 2.6, as 2.6 support was dropped in 1.5
if [[ $TRAVIS_PYTHON_VERSION == 2.6* ]]; then
sed -i 's/networkx.*/networkx==1.9.1/g' requirements.txt
sed -i 's/matplotlib.*/matplotlib==1.4.3/g' requirements.txt
fi
if [[ $MINIMUM_REQUIREMENTS == 1 ]]; then
sed -i 's/>=/==/g' requirements.txt
fi