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