]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Only call on specific py versions
authorSteve Peak <steve@codecov.io>
Mon, 24 Aug 2015 14:29:59 +0000 (10:29 -0400)
committerSteve Peak <steve@codecov.io>
Mon, 24 Aug 2015 14:29:59 +0000 (10:29 -0400)
.travis.yml

index b3b76b8ab3344ee72547faf0fe8a78a3df731793..831f162130e73535174a485df2d4f039ac442b3e 100644 (file)
@@ -68,7 +68,7 @@ script:
     - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then python $TARGET --ioloop_time_monotonic; fi
     - if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then python $TARGET --ioloop_time_monotonic; fi
     # make coverage reports for Codecov to find
-    - coverage xml
+    - if [[ $TRAVIS_PYTHON_VERSION != 2.6 && $TRAVIS_PYTHON_VERSION != nightly ]]; then coverage xml; fi
     - export TORNADO_EXTENSION=0
     - if [[ $TRAVIS_PYTHON_VERSION == '3.4' && $DEPS == true ]]; then cd ../docs && mkdir sphinx-out && sphinx-build -E -n -W -b html . sphinx-out; fi
     - if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $DEPS == true ]]; then cd ../docs && mkdir sphinx-doctest-out && sphinx-build -E -n -b doctest . sphinx-out; fi
@@ -76,7 +76,7 @@ script:
 
 after_success:
     # call codecov from project root
-    - cd ../ && codecov -e DEPS
+    - if [[ $TRAVIS_PYTHON_VERSION != 2.6 && $TRAVIS_PYTHON_VERSION != nightly ]]; then cd ../ && codecov -e DEPS; fi
 
 # This reportedly works around an issue downloading packages from pypi on
 # travis.  Consider removing this after the underlying issue is fixed.