
language: python
env:
  global:
    - JEDI="jedi"
    - IPYPARALLEL="ipyparallel"
    - IPYTHON="ipython"
matrix:
  include:
    - python: 2.7
      env:
        JEDI="jedi==0.9" IPYPARALLEL="ipyparallel==5.2" IPYTHON="ipython<6.0"
    - python: 3.4
    - python: 3.5


install:
    - travis_retry pip install coveralls $IPYTHON $IPYPARALLEL $JEDI
    - travis_retry python setup.py install
    - cd metakernel_python
    - python setup.py install
    - cd ..

script:
  - ipcluster start -n=3 &
  - nosetests --exe -v --with-doctest --with-cov --cover-package metakernel;
  - ipcluster stop

after_success:
    - coveralls


language: python
env:
  global:
    - JEDI="jedi"
    - IPYPARALLEL="ipyparallel"
    - IPYTHON="ipython"
matrix:
  include:
    - python: 3.4
    - python: 3.5
    - python: 3.6

install:
    - travis_retry pip install coveralls $IPYTHON $IPYPARALLEL $JEDI
    - travis_retry python setup.py install
    - cd metakernel_python
    - python setup.py install
    - cd ..

script:
  - ipcluster start -n=3 &
  - nosetests --exe -v --with-doctest --with-cov --cover-package metakernel;
  - ipcluster stop

after_success:
    - coveralls

Stop testing python2.7; start testing python3.6
Stop testing python2.7; start testing python3.6
