Permalink
Browse files

Disable coverage collection on python 2.6.

  • Loading branch information...
1 parent 9360bbf commit ea6cb29be6827a8bb6137f54a57732dcacaa169d @bdarnell bdarnell committed Dec 30, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 .travis.yml
View
5 .travis.yml
@@ -24,6 +24,11 @@ script:
# the python2 code from the current directory instead of the installed
# 2to3 version.
- cd maint
+ - export TARGET="-m tornado.test.runtests"
+ # 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
- export TARGET="-m coverage run -m tornado.test.runtests"
- python $TARGET
- python $TARGET --ioloop=tornado.platform.select.SelectIOLoop

0 comments on commit ea6cb29

Please sign in to comment.