mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +00:00
Merge pull request #974 from willingc/travis-config
Refactor travis config for more efficient builds
This commit is contained in:
12
.travis.yml
12
.travis.yml
@@ -1,23 +1,29 @@
|
|||||||
# http://travis-ci.org/#!/jupyter/jupyterhub
|
# http://travis-ci.org/#!/jupyter/jupyterhub
|
||||||
language: python
|
language: python
|
||||||
sudo: false
|
|
||||||
python:
|
python:
|
||||||
- 3.7-dev
|
- nightly
|
||||||
- 3.6
|
- 3.6
|
||||||
- 3.5
|
- 3.5
|
||||||
- 3.4
|
- 3.4
|
||||||
- 3.3
|
- 3.3
|
||||||
|
|
||||||
|
|
||||||
|
# installing dependencies
|
||||||
before_install:
|
before_install:
|
||||||
- npm install
|
- npm install
|
||||||
- npm install -g configurable-http-proxy
|
- npm install -g configurable-http-proxy
|
||||||
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
|
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
|
||||||
install:
|
install:
|
||||||
- pip install --pre -f travis-wheels/wheelhouse -r dev-requirements.txt .
|
- pip install --pre -f travis-wheels/wheelhouse -r dev-requirements.txt .
|
||||||
|
|
||||||
|
# running tests
|
||||||
script:
|
script:
|
||||||
- travis_retry py.test --cov=jupyterhub jupyterhub/tests -v
|
- pytest --maxfail=2 --cov=jupyterhub jupyterhub/tests
|
||||||
after_success:
|
after_success:
|
||||||
- codecov
|
- codecov
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
- python: 3.6
|
- python: 3.6
|
||||||
env: JUPYTERHUB_TEST_SUBDOMAIN_HOST=http://127.0.0.1.xip.io:8000
|
env: JUPYTERHUB_TEST_SUBDOMAIN_HOST=http://127.0.0.1.xip.io:8000
|
||||||
|
Reference in New Issue
Block a user