Git 2.21-rc0
[git.git] / .travis.yml
blob36cbdea7f4f37e7eb4d5172daa4431cffcb4b46c
1 language: c
3 cache:
4   directories:
5     - $HOME/travis-cache
7 os:
8   - linux
9   - osx
11 osx_image: xcode10.1
13 compiler:
14   - clang
15   - gcc
17 matrix:
18   include:
19     - env: jobname=GIT_TEST_GETTEXT_POISON
20       os: linux
21       compiler:
22       addons:
23       before_install:
24     - env: jobname=Windows
25       os: linux
26       compiler:
27       addons:
28       before_install:
29       script:
30         - >
31           test "$TRAVIS_REPO_SLUG" != "git/git" ||
32           ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)
33       after_failure:
34     - env: jobname=Linux32
35       os: linux
36       compiler:
37       addons:
38       services:
39         - docker
40       before_install:
41       script: ci/run-linux32-docker.sh
42     - env: jobname=StaticAnalysis
43       os: linux
44       compiler:
45       script: ci/run-static-analysis.sh
46       after_failure:
47     - env: jobname=Documentation
48       os: linux
49       compiler:
50       script: ci/test-documentation.sh
51       after_failure:
53 before_install: ci/install-dependencies.sh
54 script: ci/run-build-and-tests.sh
55 after_failure: ci/print-test-failures.sh
57 notifications:
58   email: false