Merge branch 'ls/travis-doc-asciidoctor'
authorJunio C Hamano <gitster@pobox.com>
Tue, 16 May 2017 02:51:55 +0000 (11:51 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 May 2017 02:51:55 +0000 (11:51 +0900)
Travis CI gained a task to format the documentation with both
AsciiDoc and AsciiDoctor.

* ls/travis-doc-asciidoctor:
travis-ci: check AsciiDoc/AsciiDoctor stderr output
travis-ci: unset compiler for jobs that do not need one
travis-ci: parallelize documentation build
travis-ci: build documentation with AsciiDoc and Asciidoctor

1  2 
.travis.yml
diff --cc .travis.yml
index 1b32c98f2cd71dc3cc559fd7efc709a5bd65ac1f,e5e7c3edd78209467ab9dc7032138db46ded8190..48cb00a581ec784446434d69ffdfe7a84612de12
@@@ -39,19 -39,9 +39,20 @@@ env
  
  matrix:
    include:
 +    - env: Windows
 +      os: linux
 +      compiler:
 +      addons:
 +      before_install:
 +      before_script:
 +      script:
 +        - >
 +          test "$TRAVIS_REPO_SLUG" != "git/git" ||
 +          ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)
 +      after_failure:
      - env: Linux32
        os: linux
+       compiler:
        services:
          - docker
        before_install:
          # Use the following command to debug the docker build locally:
          # $ docker run -itv "${PWD}:/usr/src/git" --entrypoint /bin/bash daald/ubuntu32:xenial
          # root@container:/# /usr/src/git/ci/run-linux32-build.sh
 +    - env: Static Analysis
 +      os: linux
 +      compiler:
 +      addons:
 +        apt:
 +          packages:
 +          - coccinelle
 +      before_install:
 +      script:
 +        # "before_script" that builds Git is inherited from base job
 +        - make coccicheck
 +      after_failure:
      - env: Documentation
        os: linux
-       compiler: clang
+       compiler:
        addons:
          apt:
            packages: