2019-11-19 02:43:37 +08:00
|
|
|
language: cpp
|
2019-01-13 16:31:02 +08:00
|
|
|
sudo: false
|
2019-11-19 02:43:37 +08:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2020-09-12 20:47:05 +08:00
|
|
|
dist: focal
|
2019-11-19 03:09:39 +08:00
|
|
|
osx_image: xcode8.3
|
2019-01-13 16:31:02 +08:00
|
|
|
|
2019-11-19 02:43:37 +08:00
|
|
|
matrix:
|
|
|
|
exclude:
|
2019-11-19 02:48:50 +08:00
|
|
|
# Disable all automatic entries in the test matrix
|
2019-11-19 02:43:37 +08:00
|
|
|
- compiler: clang
|
2019-11-19 02:48:50 +08:00
|
|
|
- compiler: gcc
|
2019-11-19 02:43:37 +08:00
|
|
|
- os: osx
|
2019-11-19 02:48:50 +08:00
|
|
|
- os: linux
|
2019-11-19 02:43:37 +08:00
|
|
|
include:
|
2019-11-19 02:48:50 +08:00
|
|
|
# Explicitly add tests that we want to run
|
2019-11-19 02:43:37 +08:00
|
|
|
- env: BUILD_DOXYGEN="yes"
|
|
|
|
compiler: gcc
|
|
|
|
os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- doxygen
|
|
|
|
- doxygen-doc
|
|
|
|
- doxygen-latex
|
|
|
|
- doxygen-gui
|
|
|
|
- graphviz
|
2020-08-29 00:51:58 +08:00
|
|
|
- clang-9
|
2020-09-12 20:47:05 +08:00
|
|
|
- libclang-9-dev
|
|
|
|
- libclang-cpp9
|
2019-11-19 02:43:37 +08:00
|
|
|
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
|
|
|
|
############################################################################
|
2020-09-12 20:47:05 +08:00
|
|
|
- DOXYGEN_URL="http://doxygen.nl/files/doxygen-1.8.20.linux.bin.tar.gz"
|
|
|
|
#- DOXYGEN_URL="https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/ci/doxygen-1.8.18.linux.bin.tar.gz"
|
2019-11-19 02:43:37 +08:00
|
|
|
- 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
|
2019-11-19 02:48:50 +08:00
|
|
|
- compiler: clang
|
|
|
|
os: osx
|
|
|
|
- compiler: clang
|
|
|
|
os: linux
|
2019-11-19 03:03:09 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libglu1-mesa-dev
|
2019-11-19 02:48:50 +08:00
|
|
|
- compiler: gcc
|
|
|
|
os: linux
|
2019-11-19 03:03:09 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libglu1-mesa-dev
|
2019-01-13 16:31:02 +08:00
|
|
|
|
2019-01-15 18:35:56 +08:00
|
|
|
install:
|
2019-11-19 02:56:02 +08:00
|
|
|
- source ci/install_travis.sh
|
2019-01-13 16:31:02 +08:00
|
|
|
|
|
|
|
script:
|
2019-11-19 02:56:02 +08:00
|
|
|
- ci/test_travis.sh
|
2019-11-19 02:43:37 +08:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
2019-01-13 16:31:02 +08:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: pages
|
2019-05-18 02:46:52 +08:00
|
|
|
verbose: true
|
|
|
|
deployment_file: true
|
2019-01-13 16:31:02 +08:00
|
|
|
skip_cleanup: true
|
|
|
|
local_dir: doc/html
|
|
|
|
github_token: $GH_REPO_TOKEN
|
|
|
|
on:
|
2019-01-15 18:26:20 +08:00
|
|
|
branch: master
|
2019-11-19 02:43:37 +08:00
|
|
|
condition: $BUILD_DOXYGEN = yes
|