##// END OF EJS Templates
run_cell returns an ExecutionResult instance...
run_cell returns an ExecutionResult instance gh-7256 asked for a boolean return value from run_cell() for whether code ran successfully. I discussed this with Min, who suggested that given the complexity of run_cell, it should return a result object that can store different pieces of information about what happened. This currently stores `execution_count`, `error_before_exec` (i.e. errors transforming, parsing or compiling the code), `error_in_exec` and `result`. It calculates `success` as a boolean that's true if neither of the error fields are set. Closes gh-7256

File last commit:

r18738:6ae41d92
r19630:0e76a046
Show More
.travis.yml
29 lines | 934 B | text/x-yaml | YamlLexer
# http://travis-ci.org/#!/ipython/ipython
language: python
python:
- 3.4
- 2.7
- 3.3
env:
- GROUP=js
- GROUP=
before_install:
# workaround for https://github.com/travis-ci/travis-cookbooks/issues/155
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
# Pierre Carrier's PPA for PhantomJS and CasperJS
- sudo add-apt-repository -y ppa:pcarrier/ppa
# Needed to get recent version of pandoc in ubntu 12.04
- sudo add-apt-repository -y ppa:marutter/c2d4u
- sudo apt-get update
- sudo apt-get install pandoc casperjs libzmq3-dev
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
- 'if [[ $GROUP == js* ]]; then python -m IPython.external.mathjax; fi'
install:
- pip install -f travis-wheels/wheelhouse file://$PWD#egg=ipython[all]
script:
- cd /tmp && iptest $GROUP
matrix:
exclude:
- python: 3.3
env: GROUP=js