Merge branch 'jk/run-command-notdot' 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     sources:
20     - ubuntu-toolchain-r-test
21     packages:
22     - language-pack-is
23     - git-svn
24     - apache2
25     - gcc-8
26
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:
73
74 before_install: ci/install-dependencies.sh
75 script: ci/run-build-and-tests.sh
76 after_failure: ci/print-test-failures.sh
77
78 notifications:
79   email: false