mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
34 lines
885 B
YAML
34 lines
885 B
YAML
# http://travis-ci.org/#!/ipython/ipython
|
|
language: python
|
|
cache:
|
|
directories:
|
|
- ~/.cache/bower
|
|
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:
|
|
- pip install -f travis-wheels/wheelhouse --pre file://$PWD#egg=notebook[test] coveralls
|
|
script:
|
|
- 'if [[ $GROUP == js* ]]; then python -m notebook.jstest ${GROUP:3}; fi'
|
|
- 'if [[ $GROUP == python ]]; then nosetests --with-coverage --cover-package=notebook notebook; fi'
|
|
matrix:
|
|
include:
|
|
- python: 3.3
|
|
env: GROUP=python
|
|
|
|
after_success:
|
|
- coveralls
|