Merge branch 'mm/doc-no-dashed-git' into maint
[git.git] / .travis.yml
blob8d2499739eb4bbeb17065aef3fc8af54c9302d0b
1 language: c
3 cache:
4   directories:
5     - $HOME/travis-cache
7 os:
8   - linux
9   - osx
11 compiler:
12   - clang
13   - gcc
15 addons:
16   apt:
17     sources:
18     - ubuntu-toolchain-r-test
19     packages:
20     - language-pack-is
21     - git-svn
22     - apache2
23     - gcc-8
25 matrix:
26   include:
27     - env: jobname=GETTEXT_POISON
28       os: linux
29       compiler:
30       addons:
31       before_install:
32     - env: jobname=Windows
33       os: linux
34       compiler:
35       addons:
36       before_install:
37       script:
38         - >
39           test "$TRAVIS_REPO_SLUG" != "git/git" ||
40           ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)
41       after_failure:
42     - env: jobname=Linux32
43       os: linux
44       compiler:
45       addons:
46       services:
47         - docker
48       before_install:
49       script: ci/run-linux32-docker.sh
50     - env: jobname=StaticAnalysis
51       os: linux
52       compiler:
53       addons:
54         apt:
55           packages:
56           - coccinelle
57       before_install:
58       script: ci/run-static-analysis.sh
59       after_failure:
60     - env: jobname=Documentation
61       os: linux
62       compiler:
63       addons:
64         apt:
65           packages:
66           - asciidoc
67           - xmlto
68       before_install:
69       script: ci/test-documentation.sh
70       after_failure:
72 before_install: ci/install-dependencies.sh
73 script: ci/run-build-and-tests.sh
74 after_failure: ci/print-test-failures.sh
76 notifications:
77   email: false