blob: fead995eddd15460b6be81e6a5f7c8f0648368ca [file] [log] [blame]
Lars Schneider522354d2015-11-27 10:23:27 +01001language: c
2
Lars Schneiderce59dff2016-01-26 10:53:43 +01003sudo: false
4
Lars Schneider6272ed32016-01-26 10:53:42 +01005cache:
6 directories:
7 - $HOME/travis-cache
8
Lars Schneider522354d2015-11-27 10:23:27 +01009os:
10 - linux
11 - osx
12
13compiler:
14 - clang
15 - gcc
16
17addons:
18 apt:
19 packages:
20 - language-pack-is
Lars Schneidere7e9f5e2016-05-19 11:10:08 +020021 - git-svn
Lars Schneiderd9d14262016-05-19 10:45:11 +020022 - apache2
Lars Schneider522354d2015-11-27 10:23:27 +010023
24env:
25 global:
Lars Schneider658df952016-02-25 09:42:22 +010026 - DEVELOPER=1
Lars Schneider3d319f22016-04-28 08:26:32 +020027 # 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!
Lars Schneider5f703e82016-12-04 14:52:41 +010030 - LINUX_P4_VERSION="16.2"
31 - LINUX_GIT_LFS_VERSION="1.5.2"
Lars Schneider522354d2015-11-27 10:23:27 +010032 - DEFAULT_TEST_TARGET=prove
Lars Schneider6272ed32016-01-26 10:53:42 +010033 - GIT_PROVE_OPTS="--timer --jobs 3 --state=failed,slow,save"
Jeff King041c72d2016-10-21 06:48:12 -040034 - GIT_TEST_OPTS="--verbose-log"
Lars Schneider522354d2015-11-27 10:23:27 +010035 - 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
Lars Schneiderb98712b2016-05-04 10:38:36 +020040matrix:
41 include:
Lars Schneiderb8e188f2017-05-05 17:40:53 +020042 - env: GETTEXT_POISON=YesPlease
43 os: linux
44 compiler:
45 addons:
46 before_install:
Lars Schneider029aeee2017-03-24 12:37:47 +010047 - 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:
Johannes Schindelin88dedd52017-03-05 19:25:19 +010058 - env: Linux32
59 os: linux
Lars Schneider912b0ab2017-04-11 10:33:09 +020060 compiler:
Johannes Schindelin88dedd52017-03-05 19:25:19 +010061 services:
62 - docker
63 before_install:
Johannes Schindelin88dedd52017-03-05 19:25:19 +010064 before_script:
Lars Schneider657343a2017-09-10 16:44:28 +020065 script: ci/run-linux32-docker.sh
Lars Schneiderd8245bb2017-04-11 09:26:37 +020066 - env: Static Analysis
67 os: linux
68 compiler:
69 addons:
70 apt:
71 packages:
72 - coccinelle
73 before_install:
Lars Schneider657343a2017-09-10 16:44:28 +020074 # "before_script" that builds Git is inherited from base job
75 script: ci/run-static-analysis.sh
Lars Schneiderd8245bb2017-04-11 09:26:37 +020076 after_failure:
Lars Schneiderb98712b2016-05-04 10:38:36 +020077 - env: Documentation
78 os: linux
Lars Schneider912b0ab2017-04-11 10:33:09 +020079 compiler:
Lars Schneiderb98712b2016-05-04 10:38:36 +020080 addons:
81 apt:
82 packages:
83 - asciidoc
84 - xmlto
85 before_install:
Lars Schneider657343a2017-09-10 16:44:28 +020086 before_script:
Lars Schneiderb98712b2016-05-04 10:38:36 +020087 script: ci/test-documentation.sh
88 after_failure:
89
Lars Schneider657343a2017-09-10 16:44:28 +020090before_install: ci/install-dependencies.sh
91before_script: ci/run-build.sh
92script: ci/run-tests.sh
93after_failure: ci/print-test-failures.sh
Lars Schneider522354d2015-11-27 10:23:27 +010094
95notifications:
96 email: false