From eb1e6d4f2c5d249cdf3633c2fb1644681ed4f718 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 18 Dec 2019 18:53:50 +0200 Subject: [PATCH] Travis builds docs --- .travis.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ CHANGELOG.md | 6 ++++++ Jamfile | 2 +- 3 files changed, 49 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2b7161bf..2956df2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,48 @@ addons: matrix: include: + # Documentation build + - os: linux + dist: xenial + addons: + apt: + packages: + - docbook + - docbook-xml + - docbook-xsl + - xsltproc + - libsaxonhe-java + - default-jre-headless + install: + - cd .. + - mkdir tmp && cd tmp + - git clone -b 'Release_1_8_15' --depth 1 https://github.com/doxygen/doxygen.git + - cd doxygen + - cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release + - cd build + - sudo make install + - cd ../.. + - wget -O saxonhe.zip https://sourceforge.net/projects/saxon/files/Saxon-HE/9.9/SaxonHE9-9-1-4J.zip/download + - unzip saxonhe.zip + - sudo rm /usr/share/java/Saxon-HE.jar + - sudo cp saxon9he.jar /usr/share/java/Saxon-HE.jar + - cd .. + - BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true + - git clone -b $BOOST_BRANCH https://github.com/boostorg/boost.git boost-root + - cd boost-root + - git submodule update --init tools/boostdep + - git submodule update --init tools/quickbook + - git submodule update --init tools/boostbook + - git submodule update --init libs/context + - cp -r $TRAVIS_BUILD_DIR/* libs/beast + - python tools/boostdep/depinst/depinst.py ../tools/quickbook + - ./bootstrap.sh + - ./b2 headers + script: + - |- + echo "using doxygen ; using boostbook ; using saxonhe ;" > ~/user-config.jam + - ./b2 -j3 libs/beast/doc//boostrelease + # GCC 6.0, Debug + Coverage - os: linux dist: trusty diff --git a/CHANGELOG.md b/CHANGELOG.md index 72ba1156..87949ea5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Version 281: + +* Travis builds docs + +-------------------------------------------------------------------------------- + Version 280: * Fix non-msvc cmake diff --git a/Jamfile b/Jamfile index 01faeb1f..3bf7a422 100644 --- a/Jamfile +++ b/Jamfile @@ -13,7 +13,7 @@ import feature ; import boost ; import modules ; import testing ; -import ../../config/checks/config : requires ; +import ../config/checks/config : requires ; boost.use-project ;