# After changing this file, check it on:
#   http://lint.travis-ci.org/


language: python
python:
    - 2.7
    - 3.3
    - 3.4


install:
    # install IPython according to their travis file:
    # 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
    - time pip install -f https://nipy.bic.berkeley.edu/wheelhouse/travis jinja2 sphinx pygments tornado requests mock pyzmq jsonschema jsonpointer mistune

    - git clone https://github.com/ipython/ipython
    - cd ipython
    - python setup.py install

    - cd ..
    - travis_retry python setup.py install

script:
    -  nosetests --exe -v --with-doctest jupyter_kernel

# After changing this file, check it on:
#   http://lint.travis-ci.org/


language: python
python:
    - 2.7
    - 3.3
    - 3.4


install:
    # install IPython according to their travis file:
    # 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
    - time pip install -f https://nipy.bic.berkeley.edu/wheelhouse/travis jinja2 sphinx pygments tornado requests mock pyzmq jsonschema jsonpointer mistune

    - git clone https://github.com/ipython/ipython
    - cd ipython
    - python setup.py install

    - cd ..
    - travis_retry python setup.py install

script:
    -  nosetests --exe -v --with-doctest jupyter_kernel
    - ipython profile create
    - nosetests --exe -v --with-doctest jupyter_kernel

Test with and without a profile
Test with and without a profile
