From 264a1a8fa0db5093e1a128c2dcf0fa16f2bb4489 Mon Sep 17 00:00:00 2001 From: Stefan Seefeld Date: Fri, 16 Feb 2018 12:42:50 -0500 Subject: [PATCH] Build docs as part of the CI build. --- .travis.yml | 1 + .travis/publish-release.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 34e6b089a..d34a44f09 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,6 +30,7 @@ script: - make check - make dist - export VERSION=$(make version) +- tar xvf dist/docbook-xsl-doc-snapshot.tar.bz2 after_success: # Update CDN diff --git a/.travis/publish-release.sh b/.travis/publish-release.sh index 81e5a95d9..1bd1548be 100755 --- a/.travis/publish-release.sh +++ b/.travis/publish-release.sh @@ -32,6 +32,9 @@ rm -rf cdn/release/xsl/current rm -rf cdn/release/xsl-nons/current cp -a cdn/release/xsl/$VERSION cdn/release/xsl/current cp -a cdn/release/xsl-nons/$VERSION cdn/release/xsl-nons/current +# copy documentation +tar xvf dist/docbook-xsl-doc-$VERSION.tar.bz2 +cp -a docbook-xsl-$VERSION/doc cdn/release/xsl/$VERSION/ # If there are no changes, bail out. # (Note that this doesn't detect additions.) -- 2.40.0