Browse Source

Add Travis-CI integration for documentation.

main
David Antliff 8 years ago
parent
commit
0675d716ea
  1. 37
      .travis.yml

37
.travis.yml

@ -0,0 +1,37 @@
# Build and deploy doxygen documention to GitHub Pages
sudo: false
# 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 docs
- doxygen
# Deploy using Travis-CI/GitHub Pages integration support
deploy:
provider: pages
skip_cleanup: true
local_dir: $TRAVIS_BUILD_DIR/docs/html
github_token: $GITHUB_API_KEY
on:
branch: master
Loading…
Cancel
Save