You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
632 B
39 lines
632 B
# Build and deploy doxygen documention to GitHub Pages
|
|
sudo: false
|
|
dist: trusty
|
|
|
|
# Blacklist
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
# Environment variables
|
|
env:
|
|
global:
|
|
- GH_REPO_REF: github.com/DavidAntliff/esp32-ds18b20.git
|
|
|
|
# Install dependencies
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- doxygen
|
|
- doxygen-doc
|
|
- doxygen-latex
|
|
- doxygen-gui
|
|
- graphviz
|
|
|
|
# Build the docs
|
|
script:
|
|
- cd doc
|
|
- doxygen
|
|
|
|
# Deploy using Travis-CI/GitHub Pages integration support
|
|
deploy:
|
|
provider: pages
|
|
skip-cleanup: true
|
|
local-dir: doc/html
|
|
github-token: $GITHUB_TOKEN
|
|
on:
|
|
branch: master
|
|
target-branch: gh-pages
|
|
|
|
|