example travis.yml with doxygening. dont forget to create a 'gh-pages' branch on github for the dox to live in!
This commit is contained in:
parent
d67dbf7239
commit
2e34cf3b83
2 changed files with 27 additions and 1 deletions
|
|
@ -96,7 +96,6 @@ if [ ! -f ${DOXYFILE} ]; then
|
|||
|
||||
# If we can, fix up the name
|
||||
if [ ! -z "$PRETTYNAME" ]; then
|
||||
echo "s/^PROJECT_NAME.*/PROJECT_NAME = \"${PRETTYNAME}\"/"
|
||||
sed -i "s/^PROJECT_NAME.*/PROJECT_NAME = \"${PRETTYNAME}\"/" ${DOXYFILE}
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
27
example_travis.yml
Normal file
27
example_travis.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
language: c
|
||||
sudo: false
|
||||
|
||||
# Blacklist
|
||||
branches:
|
||||
except:
|
||||
- gh-pages
|
||||
|
||||
env:
|
||||
global:
|
||||
- PRETTYNAME="Adafruit FT6206 Arduino Library"
|
||||
# Optional, will default to "$TRAVIS_BUILD_DIR/Doxyfile"
|
||||
# - DOXYFILE: $TRAVIS_BUILD_DIR/Doxyfile
|
||||
|
||||
before_install:
|
||||
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
|
||||
|
||||
install:
|
||||
- arduino --install-library "Adafruit ILI9341","Adafruit GFX Library"
|
||||
|
||||
script:
|
||||
- build_main_platforms
|
||||
|
||||
# Generate and deploy documentation
|
||||
after_success:
|
||||
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/library_check.sh)
|
||||
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/doxy_gen_and_deploy.sh)
|
||||
Loading…
Reference in a new issue