forked from rkdarst/batchspawner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (34 loc) · 1 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
# http://travis-ci.org/#!/jupyter/jupyterhub
language: python
sudo: false
python:
- 3.7-dev
- 3.6.6
- 3.5
- 3.4
env:
- JHUB_VER=0.7.2
- JHUB_VER=0.8.1
- JHUB_VER=0.9.1
matrix:
include:
- python: 3.7-dev
env: JHUB_VER=master
exclude:
- python: 3.4
env: JHUB_VER=0.9.1
allow_failures:
- env: JHUB_VER=master
before_install:
- npm install -g configurable-http-proxy
- git clone --quiet --branch $JHUB_VER https://github.com/jupyter/jupyterhub.git jupyterhub
- pip install --upgrade pip
install:
# Don't let requirements pull in tornado 5 yet except for jupyterhub master
- if [ $JHUB_VER != "master" -a $JHUB_VER != "0.9.1" ]; then pip install "tornado<5.0"; fi
- pip install attrs>17.4.0
- pip install --pre -r jupyterhub/dev-requirements.txt
- pip install --pre -e jupyterhub
- pip install --pre -f travis-wheels/wheelhouse -r requirements.txt
script:
- travis_retry py.test --lf --cov batchspawner batchspawner/tests -v