mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 10:05:47 +08:00
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
sudo: false
|
|
dist: xenial
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
# Install dependencies
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- doxygen
|
|
- doxygen-doc
|
|
- doxygen-latex
|
|
- doxygen-gui
|
|
- graphviz
|
|
|
|
|
|
install:
|
|
- pwd
|
|
- doxygen --version
|
|
############################################################################
|
|
# All the dependencies are installed in ${TRAVIS_BUILD_DIR}/deps/
|
|
############################################################################
|
|
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
|
|
- mkdir -p ${DEPS_DIR} && cd ${DEPS_DIR}
|
|
############################################################################
|
|
# Install a recent Doxygen
|
|
############################################################################
|
|
- DOXYGEN_URL="http://doxygen.nl/files/doxygen-1.8.15.linux.bin.tar.gz"
|
|
- mkdir doxygen
|
|
- travis_retry wget -O - ${DOXYGEN_URL} | tar --strip-components=1 -xz -C doxygen
|
|
- export PATH=${DEPS_DIR}/doxygen/bin:${PATH}
|
|
- doxygen --version
|
|
|
|
script:
|
|
- pwd
|
|
- cd ${TRAVIS_BUILD_DIR}
|
|
- cd doc
|
|
- doxygen --version
|
|
- doxygen Doxyfile
|
|
- echo "" > html/.nojekyll
|
|
|
|
deploy:
|
|
provider: pages
|
|
verbose: true
|
|
deployment_file: true
|
|
skip_cleanup: true
|
|
local_dir: doc/html
|
|
github_token: $GH_REPO_TOKEN
|
|
on:
|
|
branch: master
|