Update travis to autogenerate documentation
This commit is contained in:
parent
b8144e4c2e
commit
26c80b61d1
3 changed files with 2601 additions and 13 deletions
30
.travis.yml
30
.travis.yml
|
@ -4,11 +4,28 @@ env:
|
|||
# You can uncomment this to explicitly choose an (old) version of the Arduino IDE
|
||||
#- ARDUINO_IDE_VERSION="1.8.7"
|
||||
- ADDITIONAL_URLS="https://adafruit.github.io/arduino-board-index/package_adafruit_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json,https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json"
|
||||
- DOXYFILE=$TRAVIS_BUILD_DIR/.travis/Doxyfile
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- ~/arduino_ide
|
||||
- ~/.arduino15/packages/
|
||||
|
||||
# Blacklist
|
||||
branches:
|
||||
except:
|
||||
- gh-pages
|
||||
|
||||
# Install dependencies
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- doxygen
|
||||
- doxygen-doc
|
||||
- doxygen-latex
|
||||
- doxygen-gui
|
||||
- graphviz
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: "Build"
|
||||
|
@ -22,6 +39,18 @@ jobs:
|
|||
env: CORE="STM32:stm32" BOARD="STM32:stm32:Nucleo_144:pnum=NUCLEO_F767ZI"
|
||||
script:
|
||||
- arduino-cli compile --warnings all --fqbn $BOARD $PWD/examples/stm32/EthernetHTTPSstm32
|
||||
|
||||
- stage: "Documentation"
|
||||
if: branch = master
|
||||
install: skip
|
||||
script:
|
||||
- doxygen $DOXYFILE
|
||||
deploy:
|
||||
provider: pages
|
||||
skip_cleanup: true
|
||||
local_dir: docs/html
|
||||
github_token: $GITHUB_TOKEN
|
||||
|
||||
- stage: "Deploy"
|
||||
if: branch = master AND tag is present
|
||||
script: skip
|
||||
|
@ -31,7 +60,6 @@ jobs:
|
|||
file: "SSLClient.zip"
|
||||
skip_cleanup: true
|
||||
|
||||
|
||||
install:
|
||||
- curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/bin sudo sh
|
||||
- arduino-cli core update-index --additional-urls $ADDITIONAL_URLS
|
||||
|
|
2572
.travis/Doxyfile
Normal file
2572
.travis/Doxyfile
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,12 +0,0 @@
|
|||
name=SSLClient
|
||||
version=1.5.0
|
||||
author=Noah Koontz <koontzn@oregonstate.edu>
|
||||
maintainer=OPEnS Lab
|
||||
sentence=Arduino library to add SSL functionality to any Client class
|
||||
paragraph=including the Arduino EthernetClient and WiFiClient classes (though it is better to prefer WiFClient.connectSSL if implemented). In other words, SSLClient implements encrypted communication through SSL on devices that do not otherwise support it.
|
||||
category=Communication
|
||||
url=https://github.com/OPEnSLab-OSU/SSLClient
|
||||
architectures=samd,tivac
|
||||
includes=SSLClient.h
|
||||
precompiled=true
|
||||
ldflags=-lSSLClient
|
Loading…
Reference in a new issue