From: Ben Darnell Date: Mon, 3 Aug 2015 02:40:16 +0000 (-0400) Subject: Disable coverage collection on the 'nightly' python version. X-Git-Tag: v4.3.0b1~63^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=135e2534f0ced5d74d80881b78631c2e1961048a;p=thirdparty%2Ftornado.git Disable coverage collection on the 'nightly' python version. --- diff --git a/.travis.yml b/.travis.yml index e1814a714..0af81fe05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,7 +48,9 @@ script: # We use "python -m coverage" instead of the "bin/coverage" script # so we can pass additional arguments to python. However, this doesn't # work on 2.6, so skip coverage on that version. - - if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then export TARGET="-m coverage run $TARGET"; fi + # coverage needs a function that was removed in python 3.6 so we can't + # run it with nightly cpython. + - if [[ $TRAVIS_PYTHON_VERSION != 2.6 && $TRAVIS_PYTHON_VERSION != nightly ]]; then export TARGET="-m coverage run $TARGET"; fi - python $TARGET - python $TARGET --ioloop=tornado.platform.select.SelectIOLoop - python -O $TARGET