2015-04-11 07:45:21 +08:00
|
|
|
# http://travis-ci.org/#!/ipython/ipython
|
|
|
|
language: python
|
2015-06-12 02:49:34 +08:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- ~/.cache/bower
|
2015-04-11 07:45:21 +08:00
|
|
|
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:
|
2015-08-22 03:08:27 +08:00
|
|
|
- 'if [[ $GROUP == js* ]]; then npm install -g phantomjs && npm install -g casperjs; fi'
|
2015-04-11 07:45:21 +08:00
|
|
|
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
|
|
|
|
install:
|
2015-07-24 00:31:19 +08:00
|
|
|
- pip install -f travis-wheels/wheelhouse --pre file://$PWD#egg=notebook[test] coveralls
|
2015-04-11 07:45:21 +08:00
|
|
|
script:
|
2015-05-14 01:56:32 +08:00
|
|
|
- 'if [[ $GROUP == js* ]]; then python -m notebook.jstest ${GROUP:3}; fi'
|
|
|
|
- 'if [[ $GROUP == python ]]; then nosetests --with-coverage --cover-package=notebook notebook; fi'
|
2015-04-11 07:45:21 +08:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: 3.3
|
|
|
|
env: GROUP=python
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- coveralls
|