##// END OF EJS Templates
Change return type in docstring to literal tuple to avoid bogus cross-ref....
Change return type in docstring to literal tuple to avoid bogus cross-ref. Before this change the Sphinx tried to produce cross-reference links for the returned (stdout, stderr) tuple. The docs build produced a warning because there are 2 possible cross-ref objects for `stdout`, one in `IPython.testing.iptestcontroller.TestController`, the other in `IPython.utils.capture.CapturedIO`. Neither of those is correct in the context of the `ipexec()` function. Changing literal ``(stdout, stderr)`` avoids the warning by preventing the attempt to produce cross-references.

File last commit:

r23889:3ad02a8e
r24067:fcbe9bad
Show More
.travis.yml
44 lines | 1.1 KiB | text/x-yaml | YamlLexer
# http://travis-ci.org/#!/ipython/ipython
language: python
python:
- "nightly"
- 3.6
- 3.5
- 3.4
- 3.3
sudo: false
group: edge
before_install:
- 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi'
install:
- pip install setuptools pip --upgrade
- pip install -e file://$PWD#egg=ipython[test] --upgrade
- pip install codecov --upgrade
script:
- cd /tmp && iptest --coverage xml && cd -
after_success:
- cp /tmp/ipy_coverage.xml ./
- cp /tmp/.coverage ./
- codecov
matrix:
allow_failures:
- python: nightly
before_deploy:
- rm -rf dist/
- python setup.py sdist
- python setup.py bdist_wheel
deploy:
provider: releases
api_key:
secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns=
file: dist/*
file_glob: true
skip_cleanup: true
on:
repo: ipython/ipython
all_branches: true # Backports are released from e.g. 5.x branch
tags: true
python: 3.6 # Any version should work, but we only need one