2018-10-03 06:11:42 +02:00
|
|
|
language: python
|
|
|
|
python:
|
2019-08-30 12:34:48 +02:00
|
|
|
- "3.7"
|
2018-10-03 06:11:42 +02:00
|
|
|
|
|
|
|
# Cache PlatformIO packages using Travis CI container-based infrastructure
|
|
|
|
sudo: false
|
|
|
|
cache:
|
|
|
|
- pip
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
install:
|
|
|
|
- pip install sphinx pycairo
|
|
|
|
script:
|
|
|
|
#- python setup.py install
|
|
|
|
- cd ./documentation/src/ && make html #linkchecker
|
|
|
|
- cd ../build/ && ls && ls html/
|
|
|
|
- rm -rf doctrees
|
|
|
|
- touch .nojekyll
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
# see https://docs.travis-ci.com/user/deployment/pages/
|
|
|
|
skip-cleanup: true
|
|
|
|
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
|
|
|
|
keep-history: true
|
|
|
|
local-dir: ./documentation/build/
|
|
|
|
on:
|
|
|
|
branch: master
|