run-command: use strbuf_addstr() for adding a string to a strbuf
[git/debian.git] / .travis.yml
blob4684b3f4f30f78d5f1d5d0f7eb5bfea9b81861ba
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     packages:
20     - language-pack-is
21     - git-svn
22     - apache2
24 matrix:
25   include:
26     - env: jobname=GETTEXT_POISON
27       os: linux
28       compiler:
29       addons:
30       before_install:
31     - env: jobname=Windows
32       os: linux
33       compiler:
34       addons:
35       before_install:
36       before_script:
37       script:
38         - >
39           test "$TRAVIS_REPO_SLUG" != "git/git" ||
40           ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)
41       after_failure:
42     - env: jobname=Linux32
43       os: linux
44       compiler:
45       addons:
46       services:
47         - docker
48       before_install:
49       before_script:
50       script: ci/run-linux32-docker.sh
51     - env: jobname=StaticAnalysis
52       os: linux
53       compiler:
54       addons:
55         apt:
56           packages:
57           - coccinelle
58       before_install:
59       before_script:
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       before_script:
72       script: ci/test-documentation.sh
73       after_failure:
75 before_install: ci/install-dependencies.sh
76 before_script: ci/run-build.sh
77 script: ci/run-tests.sh
78 after_failure: ci/print-test-failures.sh
80 notifications:
81   email: false