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