##// END OF EJS Templates
Remove EventManager reset methods, because they violate encapsulation....
Remove EventManager reset methods, because they violate encapsulation. The whole idea of the EventManager is that you can register hooks without worrying about what hooks other pieces of code might be registering. The reset methods violate this separation of concerns, since they will blow away everyone else's hooks too. (See gh-6680 for an example of this breaking things.) Since there is never any safe way to use them, we simply remove them entirely.

File last commit:

r18157:cc2dd76a
r18547:4043b271
Show More
.travis.yml
28 lines | 937 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
- time sudo add-apt-repository -y ppa:pcarrier/ppa
- time sudo apt-get update
- time sudo apt-get install pandoc casperjs libzmq3-dev
# pin tornado < 4 for js tests while phantom is on super old webkit
- if [[ $GROUP == 'js' ]]; then pip install 'tornado<4'; fi
- time pip install -f https://nipy.bic.berkeley.edu/wheelhouse/travis jinja2 sphinx pygments tornado requests!=2.4.2 mock pyzmq jsonschema jsonpointer mistune
install:
- time python setup.py install -q
script:
- cd /tmp && iptest $GROUP
matrix:
exclude:
- python: 3.3
env: GROUP=js