FIX: buildbot: install django<2 if python2 is used.
This commit is contained in:
1 parent
8776c1dd9d
commit
1aa2599c7e
2 files changed
+8
No files matched your search
@@ -1 +1,5 @@
|
||||
python_major_version=`python -c 'import sys; print sys.version_info.major'`
|
||||
if test "$python_major_version" = "2" ; then
|
||||
pip install 'django<2'
|
||||
fi
|
||||
pip install -r requirements.txt
|
||||
@@ -1 +1,5 @@
|
||||
python_major_version=`python -c 'import sys; print sys.version_info.major'`
|
||||
if test "$python_major_version" = "2" ; then
|
||||
pip install 'django<2'
|
||||
fi
|
||||
pip install -r requirements.txt
|
||||
Reference in new issue
Block a user