Merge branch 'bc/hash-algo' 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       before_script:
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       before_script:
50       script: ci/run-linux32-docker.sh
51     - env: jobname=StaticAnalysis
52       os: linux
53       compiler:
54       addons:
55         apt:
56           packages:
57           - coccinelle
58       before_install:
59       before_script:
60       script: ci/run-static-analysis.sh
61       after_failure:
62     - env: jobname=Documentation
63       os: linux
64       compiler:
65       addons:
66         apt:
67           packages:
68           - asciidoc
69           - xmlto
70       before_install:
71       before_script:
72       script: ci/test-documentation.sh
73       after_failure:
74
75 before_install: ci/install-dependencies.sh
76 before_script: ci/run-build.sh
77 script: ci/run-tests.sh
78 after_failure: ci/print-test-failures.sh
79
80 notifications:
81   email: false