travis-ci: fix running P4 and Git LFS tests in Linux build jobs
[git/git.git] / .travis.yml
CommitLineData
522354d7
LS
1language: c
2
ce59dffb
LS
3sudo: false
4
6272ed31
LS
5cache:
6 directories:
7 - $HOME/travis-cache
8
522354d7
LS
9os:
10 - linux
11 - osx
12
13compiler:
14 - clang
15 - gcc
16
17addons:
18 apt:
19 packages:
20 - language-pack-is
e7e9f5e7 21 - git-svn
d9d14268 22 - apache2
522354d7
LS
23
24env:
25 global:
658df95a 26 - DEVELOPER=1
3d319f2c
LS
27 # The Linux build installs the defined dependency versions below.
28 # The OS X build installs the latest available versions. Keep that
29 # in mind when you encounter a broken OS X build!
5f703e8f
LS
30 - LINUX_P4_VERSION="16.2"
31 - LINUX_GIT_LFS_VERSION="1.5.2"
522354d7 32 - DEFAULT_TEST_TARGET=prove
6272ed31 33 - GIT_PROVE_OPTS="--timer --jobs 3 --state=failed,slow,save"
041c72de 34 - GIT_TEST_OPTS="--verbose-log"
522354d7
LS
35 - GIT_TEST_CLONE_2GB=YesPlease
36 # t9810 occasionally fails on Travis CI OS X
37 # t9816 occasionally fails with "TAP out of sequence errors" on Travis CI OS X
38 - GIT_SKIP_TESTS="t9810 t9816"
39
b98712b9
LS
40matrix:
41 include:
b8e188f6
LS
42 - env: GETTEXT_POISON=YesPlease
43 os: linux
44 compiler:
45 addons:
46 before_install:
029aeeed
LS
47 - env: Windows
48 os: linux
49 compiler:
50 addons:
51 before_install:
52 before_script:
53 script:
54 - >
55 test "$TRAVIS_REPO_SLUG" != "git/git" ||
56 ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)
57 after_failure:
88dedd5e
JS
58 - env: Linux32
59 os: linux
912b0ab1 60 compiler:
88dedd5e
JS
61 services:
62 - docker
63 before_install:
88dedd5e 64 before_script:
657343a6 65 script: ci/run-linux32-docker.sh
d8245bb3
LS
66 - env: Static Analysis
67 os: linux
68 compiler:
69 addons:
70 apt:
71 packages:
72 - coccinelle
73 before_install:
657343a6
LS
74 # "before_script" that builds Git is inherited from base job
75 script: ci/run-static-analysis.sh
d8245bb3 76 after_failure:
b98712b9
LS
77 - env: Documentation
78 os: linux
912b0ab1 79 compiler:
b98712b9
LS
80 addons:
81 apt:
82 packages:
83 - asciidoc
84 - xmlto
85 before_install:
657343a6 86 before_script:
b98712b9
LS
87 script: ci/test-documentation.sh
88 after_failure:
89
657343a6
LS
90before_install: ci/install-dependencies.sh
91before_script: ci/run-build.sh
92script: ci/run-tests.sh
93after_failure: ci/print-test-failures.sh
522354d7
LS
94
95notifications:
96 email: false