JKQtPlotter/.travis.yml

92 lines
2.3 KiB
YAML
Raw Normal View History

language: cpp
sudo: false
compiler:
- gcc
- clang
os:
- linux
- osx
2020-09-12 20:47:05 +08:00
dist: focal
osx_image: xcode8.3
matrix:
exclude:
2019-11-19 02:48:50 +08:00
# Disable all automatic entries in the test matrix
- compiler: clang
2019-11-19 02:48:50 +08:00
- compiler: gcc
- os: osx
2019-11-19 02:48:50 +08:00
- os: linux
include:
2019-11-19 02:48:50 +08:00
# Explicitly add tests that we want to run
- 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
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"
- 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-15 18:35:56 +08:00
install:
2019-11-19 02:56:02 +08:00
- source ci/install_travis.sh
script:
2019-11-19 02:56:02 +08:00
- ci/test_travis.sh
notifications:
email: false
deploy:
provider: pages
2019-05-18 02:46:52 +08:00
verbose: true
deployment_file: true
skip_cleanup: true
local_dir: doc/html
github_token: $GH_REPO_TOKEN
on:
2019-01-15 18:26:20 +08:00
branch: master
condition: $BUILD_DOXYGEN = yes