Sync with Git 2.25.2
[git] / .travis.yml
1 language: c
2
3 cache:
4   directories:
5     - $HOME/travis-cache
6
7 os:
8   - linux
9   - osx
10
11 osx_image: xcode10.1
12
13 compiler:
14   - clang
15   - gcc
16
17 matrix:
18   include:
19     - env: jobname=GIT_TEST_GETTEXT_POISON
20       os: linux
21       compiler:
22       addons:
23       before_install:
24     - env: jobname=linux-gcc-4.8
25       os: linux
26       dist: trusty
27       compiler:
28     - env: jobname=Linux32
29       os: linux
30       compiler:
31       addons:
32       services:
33         - docker
34       before_install:
35       script: ci/run-linux32-docker.sh
36     - env: jobname=StaticAnalysis
37       os: linux
38       compiler:
39       script: ci/run-static-analysis.sh
40       after_failure:
41     - env: jobname=Documentation
42       os: linux
43       compiler:
44       script: ci/test-documentation.sh
45       after_failure:
46
47 before_install: ci/install-dependencies.sh
48 script: ci/run-build-and-tests.sh
49 after_failure: ci/print-test-failures.sh
50
51 notifications:
52   email: false