config.txt: move pretty.* to a separate file
[git.git] / .travis.yml
blob4d4e26c9df519c7d708e779401b5076878af022d
1 language: c
3 sudo: false
5 cache:
6   directories:
7     - $HOME/travis-cache
9 os:
10   - linux
11   - osx
13 compiler:
14   - clang
15   - gcc
17 addons:
18   apt:
19     sources:
20     - ubuntu-toolchain-r-test
21     packages:
22     - language-pack-is
23     - git-svn
24     - apache2
25     - gcc-8
27 matrix:
28   include:
29     - env: jobname=GETTEXT_POISON
30       os: linux
31       compiler:
32       addons:
33       before_install:
34     - env: jobname=Windows
35       os: linux
36       compiler:
37       addons:
38       before_install:
39       script:
40         - >
41           test "$TRAVIS_REPO_SLUG" != "git/git" ||
42           ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)
43       after_failure:
44     - env: jobname=Linux32
45       os: linux
46       compiler:
47       addons:
48       services:
49         - docker
50       before_install:
51       script: ci/run-linux32-docker.sh
52     - env: jobname=StaticAnalysis
53       os: linux
54       compiler:
55       addons:
56         apt:
57           packages:
58           - coccinelle
59       before_install:
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       script: ci/test-documentation.sh
72       after_failure:
74 before_install: ci/install-dependencies.sh
75 script: ci/run-build-and-tests.sh
76 after_failure: ci/print-test-failures.sh
78 notifications:
79   email: false