2019-01-13 16:31:02 +08:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
2019-01-15 18:35:56 +08:00
|
|
|
|
|
|
|
install:
|
|
|
|
############################################################################
|
|
|
|
# Install a recent Doxygen
|
|
|
|
############################################################################
|
|
|
|
- |
|
|
|
|
if [[ "${DOCUMENTATION}" == "true" ]]; then
|
|
|
|
DOXYGEN_URL="http://doxygen.nl/files/doxygen-1.8.15.linux.bin.tar.gz"
|
|
|
|
mkdir doxygen && travis_retry wget --quiet -O - ${DOXYGEN_URL} | tar --strip-components=1 -xz -C doxygen
|
|
|
|
export PATH=${DEPS_DIR}/doxygen/bin:${PATH}
|
|
|
|
doxygen --version
|
|
|
|
fi
|
2019-01-13 16:31:02 +08:00
|
|
|
|
|
|
|
script:
|
|
|
|
- cd doc
|
2019-01-15 18:35:56 +08:00
|
|
|
- doxygen --version
|
|
|
|
- doxygen Doxyfile
|
2019-01-13 16:31:02 +08:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
skip_cleanup: true
|
|
|
|
local_dir: doc/html
|
|
|
|
github_token: $GH_REPO_TOKEN
|
|
|
|
on:
|
2019-01-15 18:26:20 +08:00
|
|
|
branch: master
|