Update docs.yml #101
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Documentation | |
dist: jammy | |
language: python | |
python: | |
- 3.9 | |
cache: | |
directories: | |
- $HOME/.cache/pip | |
- $HOME/.ccache # https://github.com/travis-ci/travis-ci/issues/5853 | |
addons: | |
apt_packages: | |
- pandoc | |
env: | |
global: | |
# Doctr deploy key for twguest/phenom | |
- secure: "TOlAivoHFVW/FDn20vzidMO9UHG5dxMUJPWvqZHCmQr2H8vE+IX+FGoamyUcZ6XK1y7SdzOqHp0LpTbiry1QyToqsgfalTKignp95m8JSmX93IbotuvikSBbOxUzDhH9JOecxJxznFVHSuVyhBiWdWBKJrz1JI38dx4SqcI6fJQBVFsObf6T8/l1LseKgRjOqKJZGattw3T21y4rNQsSDkLkBWV/vN1Q1utcGMzTZmMHNHyBb6kpcnRsFraUfaaiyegZtwsU1zw3ruQGyI1DWhP6vlT/n255d33dS2coUnmThUJzGlXxovpAfiWXRsMcSfSCgI8hHJ+hyvjlWzCLPm1JJ4HkcBb5Tcvwg+8o0uIQjIC0/fAOrgkZeaKyhqThLNL9u8rOPmpQYHcIHrCClrhOdQi5qsgdowsISXDbSdCB1+ofW2nnXlDHAihlW9wEsDFsVYBlkVEXQ2uQ6SUzk5VW9efKxjUgi9mbCoB+15l+gp0QS5gZQDLMNdE6UgNcfFmfnE/otwqAiTWjNvkfAsCIMZ2JmPuti43HQKD9ffHoNXlUTbVzbFtSoR2aEWJb6z5WNWDBNqXz6Kj/M9G6iXwCnnhp35tB1EFtE9gSay7czccIqpD84cYGZkBzIzpkM0jCn2Y+s0IOSx+6k5mXGxAFQHdm4ucYAxGhOgPwi80=" | |
install: | |
# Install this package and the packages listed in requirements.txt. | |
- pip install . | |
- pip install ur | |
# Install extra requirements for running tests and building docs. | |
- pip install -r requirements-dev.txt | |
script: | |
- coverage run -m pytest # Run the tests and check for test coverage. | |
- coverage report -m # Generate test coverage report. | |
- sudo apt install pandoc | |
- pip install pandoc | |
- pip install doctr | |
- doctr deploy --built-docs docs/build/html . | |