зеркало из https://github.com/mozilla/frost.git
28 строки
652 B
YAML
28 строки
652 B
YAML
language: python
|
|
python:
|
|
- "3.8"
|
|
sudo: required
|
|
|
|
install:
|
|
- make install install-docs
|
|
|
|
script:
|
|
- make black check_conftest_imports doctest coverage doc-build
|
|
|
|
deploy:
|
|
- provider: pypi
|
|
on:
|
|
tags: true
|
|
distributions: sdist bdist_wheel
|
|
edge: true # opt in to dpl v2 https://docs.travis-ci.com/user/deployment-v2/providers/pypi/
|
|
|
|
# Deploy the documentation to the `gh-pages` branch using the Github Pages
|
|
# provider: https://docs.travis-ci.com/user/deployment/pages/
|
|
- provider: pages
|
|
skip_cleanup: true
|
|
github_token: $GITHUB_TOKEN
|
|
keep_history: true
|
|
local_dir: docs/_build/html/
|
|
on:
|
|
branch: master
|