代码拉取完成,页面将自动刷新
language: python
python:
- '3.5'
- '3.6'
- '3.7'
- '3.8'
cache:
pip: true
directories:
- /home/travis/.yarn-cache/
before_install:
- nvm install 10
install: pip install --upgrade --upgrade-strategy=eager pytest pytest-asyncio "jupyterlab~=2.0"
script:
# Build the sdist (identical to what will be uploaded to eg pypi on release)
- python setup.py sdist
# Linter checks
- jlpm run eslint-check
# Install the extension from the sdist ensuring the cache is unused
- pip install jupyterlab_git[test] --pre --no-index --find-links=dist --no-deps --no-cache-dir -v
# Install the extension dependencies based on the current setup.py
- pip install jupyterlab_git[test]
# Log the current state of jupyterlab's extensions
- jupyter labextension list
# Rebuild jupyterlab to include our extension
- jupyter lab build
# Run the Python tests
- pytest jupyterlab_git -r ap
# Run the TS/JS tests
- jlpm run test
# Run the standard jupyterlab browser integration test
- python -m jupyterlab.browser_check
# Run our extension-specific browser integration test
- python tests/test-browser/run_browser_test.py
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。