forked from jupyter/notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (41 loc) · 1.24 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# http://travis-ci.org/#!/ipython/ipython
language: python
cache:
directories:
- $HOME/.cache/bower
python:
- 3.5.1 # Set to 3.5.1 since travis has not yet included as default for 3.5
- 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:
- pip install --upgrade pip
- pip install --upgrade setuptools wheel nose coverage codecov
- nvm install 5.6
- nvm use 5.6
- npm upgrade -g npm
- npm install
- 'if [[ $GROUP == js* ]]; then npm install -g [email protected]; fi'
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
install:
- pip install -f travis-wheels/wheelhouse file://$PWD#egg=notebook[test]
script:
- 'if [[ $GROUP == js* ]]; then travis_retry python -m notebook.jstest ${GROUP:3}; fi'
- 'if [[ $GROUP == "js/notebook" ]]; then npm run lint; fi'
- 'if [[ $GROUP == python ]]; then nosetests -v --with-coverage --cover-package=notebook notebook; fi'
matrix:
include:
- python: 3.3
env: GROUP=python
- python: 3.4
env: GROUP=python
after_success:
- codecov