git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH v1] travis-ci: build documentation
@ 2016-04-22  8:34 larsxschneider
  2016-04-22  9:07 ` Matthieu Moy
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: larsxschneider @ 2016-04-22  8:34 UTC (permalink / raw)
  To: git; +Cc: gitster, Lars Schneider

From: Lars Schneider <larsxschneider@gmail.com>

Run "make doc" to check if all documentation can be build without errors.
Since the documentation is the same on every platform/compiler, the check
is only performed as part of the Linux/GCC build job to maintain a fast
CI process.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
---

Patch as promised in http://article.gmane.org/gmane.comp.version-control.git/291726

Cheers,
Lars

 .travis.yml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index c3bf9c6..6ca7fb2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,6 +12,8 @@ addons:
   apt:
     packages:
     - language-pack-is
+    - asciidoc
+    - xmlto

 env:
   global:
@@ -70,7 +72,16 @@ before_install:

 before_script: make --jobs=2

-script: make --quiet test
+script:
+  - >
+      make --quiet test &&
+      if [[ "$TRAVIS_OS_NAME" = linux ]] && [[ "$CC" = gcc ]];
+          then
+          echo ""
+          echo "------------------------------------------------------------------------" &&
+          echo "$(tput setaf 2)Building documentation...$(tput sgr0)" &&
+          make --quiet doc
+      fi;

 after_failure:
   - >
--
2.5.1

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-04-25 19:46 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-22  8:34 [PATCH v1] travis-ci: build documentation larsxschneider
2016-04-22  9:07 ` Matthieu Moy
2016-04-22 18:14   ` Junio C Hamano
2016-04-25  8:33     ` Lars Schneider
2016-04-25 16:56       ` Junio C Hamano
2016-04-25 19:03         ` Junio C Hamano
2016-04-25 19:32           ` Matthieu Moy
2016-04-25 19:46             ` Junio C Hamano
2016-04-25  9:26     ` Matthieu Moy
2016-04-25  8:17   ` Lars Schneider
2016-04-25  9:37     ` Matthieu Moy
2016-04-22 10:45 ` stefan.naewe
2016-04-25  8:20   ` Lars Schneider
2016-04-23  3:39 ` Jeff King
2016-04-25  8:35   ` Lars Schneider
2016-04-25 17:07     ` Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).