##// END OF EJS Templates
Set exit code on script errors....
Set exit code on script errors. Only handle the issue related to .py scripts. 1. interactiveshell: The method safe_execfile is not totally safe now. Errors of user scripts are raised to a higher level, where we can decide what to do. 2. execution: The %run magic catches exceptions from safe_execfile. 3. shellapp: The _run_cmd_line_code method catches exceptions from safe_execfile and sets the right exit status. Partial-revert: 1. Change execution.py back. 2. Revert some changes in safe_execfile, then modify the excetion handling logic.

File last commit:

r21656:045b434d
r21758:1404412d
Show More
.travis.yml
19 lines | 547 B | text/x-yaml | YamlLexer
# http://travis-ci.org/#!/ipython/ipython
language: python
python:
- "3.5.0rc4"
- 3.4
- 3.3
- 2.7
sudo: false
before_install:
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
- 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi'
install:
- pip install -f travis-wheels/wheelhouse -r requirements.txt -e file://$PWD#egg=ipython[test] coveralls
script:
- cd /tmp && iptest --coverage xml && cd -
after_success:
- cp /tmp/ipy_coverage.xml ./
- cp /tmp/.coverage ./
- coveralls