2015-04-11 07:45:21 +08:00
|
|
|
# http://travis-ci.org/#!/ipython/ipython
|
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- 3.4
|
|
|
|
- 2.7
|
|
|
|
sudo: false
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH
|
|
|
|
matrix:
|
|
|
|
- GROUP=python
|
|
|
|
- GROUP=js/base
|
|
|
|
- GROUP=js/notebook
|
|
|
|
- GROUP=js/services
|
|
|
|
- GROUP=js/tree
|
|
|
|
before_install:
|
|
|
|
- 'if [[ $GROUP == js* ]]; then npm install -g casperjs; fi'
|
|
|
|
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
|
|
|
|
install:
|
2015-04-23 07:10:46 +08:00
|
|
|
- pip install -f travis-wheels/wheelhouse -r requirements.txt file://$PWD#egg=jupyter_notebook[test] coveralls
|
2015-04-11 07:45:21 +08:00
|
|
|
script:
|
2015-04-23 01:05:57 +08:00
|
|
|
- 'if [[ $GROUP == js* ]]; then python -m jupyter_notebook.jstest ${GROUP:3}; fi'
|
2015-04-11 07:45:21 +08:00
|
|
|
- 'if [[ $GROUP == python ]]; then nosetests --with-coverage --cover-package=jupyter_notebook jupyter_notebook; fi'
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: 3.3
|
|
|
|
env: GROUP=python
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- coveralls
|