summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Quast <contact@jeffquast.com>2014-12-03 01:49:15 -0800
committerJeff Quast <contact@jeffquast.com>2014-12-03 01:49:15 -0800
commit6c7304d2953e40f608e504b97ec08331f08465b7 (patch)
tree325eb4ddcd0030cc5825a922ecd22e9dc8ad9bdd
parent74ee445f6ed46319f2bd3640677657f1fb1814ec (diff)
downloadblessings-6c7304d2953e40f608e504b97ec08331f08465b7.tar.gz
virtualenv is broken on debian for python2.6
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754248
-rwxr-xr-xtools/teamcity-runtests.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/teamcity-runtests.sh b/tools/teamcity-runtests.sh
index 50ca3ee..8757cb5 100755
--- a/tools/teamcity-runtests.sh
+++ b/tools/teamcity-runtests.sh
@@ -12,9 +12,14 @@ osrel=$(uname -s)
cd $here/..
_cmd=tox
-if [ X"$osrel" == X"Darwin" ]; then
+if [ X"$osrel" == X"Darwin" ] || [ X"$osrel" == X"Linux" ]; then
# python2.6 locks up during py.test on osx build slave,
# exclude the test environment py26 from osx.
+ #
+ # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754248
+ # cannot create a virtualenv for python2.6 due to use of
+ # "{}".format in virtualenv, throws exception
+ # ValueError: zero length field name in format.
_cmd='tox -epy27,py33,py34,pypy'
fi