Merge branch 'km/rebase-doc-typofix'
[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 matrix:
16   include:
17     - env: jobname=GIT_TEST_GETTEXT_POISON
18       os: linux
19       compiler:
20       addons:
21       before_install:
22     - env: jobname=Windows
23       os: linux
24       compiler:
25       addons:
26       before_install:
27       script:
28         - >
29           test "$TRAVIS_REPO_SLUG" != "git/git" ||
30           ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)
31       after_failure:
32     - env: jobname=Linux32
33       os: linux
34       compiler:
35       addons:
36       services:
37         - docker
38       before_install:
39       script: ci/run-linux32-docker.sh
40     - env: jobname=StaticAnalysis
41       os: linux
42       compiler:
43       script: ci/run-static-analysis.sh
44       after_failure:
45     - env: jobname=Documentation
46       os: linux
47       compiler:
48       script: ci/test-documentation.sh
49       after_failure:
50
51 before_install: ci/install-dependencies.sh
52 script: ci/run-build-and-tests.sh
53 after_failure: ci/print-test-failures.sh
54
55 notifications:
56   email: false