Merge branch 'ah/doc-updates' into maint
[git] / .travis.yml
1 language: c
2
3 cache:
4   directories:
5     - $HOME/travis-cache
6
7 os:
8   - linux
9   - osx
10
11 compiler:
12   - clang
13   - gcc
14
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
24
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:
71
72 before_install: ci/install-dependencies.sh
73 script: ci/run-build-and-tests.sh
74 after_failure: ci/print-test-failures.sh
75
76 notifications:
77   email: false