2015-11-27 10:23:27 +01:00
|
|
|
language: c
|
|
|
|
|
2016-01-26 10:53:43 +01:00
|
|
|
sudo: false
|
|
|
|
|
2016-01-26 10:53:42 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/travis-cache
|
|
|
|
|
2015-11-27 10:23:27 +01:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- language-pack-is
|
2016-05-19 11:10:08 +02:00
|
|
|
- git-svn
|
2016-05-19 10:45:11 +02:00
|
|
|
- apache2
|
2015-11-27 10:23:27 +01:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
2016-02-25 09:42:22 +01:00
|
|
|
- DEVELOPER=1
|
2016-04-28 08:26:32 +02:00
|
|
|
# The Linux build installs the defined dependency versions below.
|
|
|
|
# The OS X build installs the latest available versions. Keep that
|
|
|
|
# in mind when you encounter a broken OS X build!
|
2016-12-04 14:52:41 +01:00
|
|
|
- LINUX_P4_VERSION="16.2"
|
|
|
|
- LINUX_GIT_LFS_VERSION="1.5.2"
|
2015-11-27 10:23:27 +01:00
|
|
|
- DEFAULT_TEST_TARGET=prove
|
2016-01-26 10:53:42 +01:00
|
|
|
- GIT_PROVE_OPTS="--timer --jobs 3 --state=failed,slow,save"
|
2016-10-21 12:48:12 +02:00
|
|
|
- GIT_TEST_OPTS="--verbose-log"
|
2015-11-27 10:23:27 +01:00
|
|
|
- GIT_TEST_CLONE_2GB=YesPlease
|
|
|
|
# t9810 occasionally fails on Travis CI OS X
|
|
|
|
# t9816 occasionally fails with "TAP out of sequence errors" on Travis CI OS X
|
|
|
|
- GIT_SKIP_TESTS="t9810 t9816"
|
|
|
|
|
2016-05-04 10:38:36 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
2017-05-05 17:40:53 +02:00
|
|
|
- env: GETTEXT_POISON=YesPlease
|
|
|
|
os: linux
|
|
|
|
compiler:
|
|
|
|
addons:
|
|
|
|
before_install:
|
2017-03-24 12:37:47 +01:00
|
|
|
- env: Windows
|
|
|
|
os: linux
|
|
|
|
compiler:
|
|
|
|
addons:
|
|
|
|
before_install:
|
|
|
|
before_script:
|
|
|
|
script:
|
|
|
|
- >
|
|
|
|
test "$TRAVIS_REPO_SLUG" != "git/git" ||
|
|
|
|
ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)
|
|
|
|
after_failure:
|
2017-03-05 19:25:19 +01:00
|
|
|
- env: Linux32
|
|
|
|
os: linux
|
2017-04-11 10:33:09 +02:00
|
|
|
compiler:
|
2017-03-05 19:25:19 +01:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
before_install:
|
|
|
|
before_script:
|
2017-09-10 16:44:28 +02:00
|
|
|
script: ci/run-linux32-docker.sh
|
2017-04-11 09:26:37 +02:00
|
|
|
- env: Static Analysis
|
|
|
|
os: linux
|
|
|
|
compiler:
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- coccinelle
|
|
|
|
before_install:
|
2017-09-10 16:44:28 +02:00
|
|
|
# "before_script" that builds Git is inherited from base job
|
|
|
|
script: ci/run-static-analysis.sh
|
2017-04-11 09:26:37 +02:00
|
|
|
after_failure:
|
2016-05-04 10:38:36 +02:00
|
|
|
- env: Documentation
|
|
|
|
os: linux
|
2017-04-11 10:33:09 +02:00
|
|
|
compiler:
|
2016-05-04 10:38:36 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- asciidoc
|
|
|
|
- xmlto
|
|
|
|
before_install:
|
2017-09-10 16:44:28 +02:00
|
|
|
before_script:
|
2016-05-04 10:38:36 +02:00
|
|
|
script: ci/test-documentation.sh
|
|
|
|
after_failure:
|
|
|
|
|
2017-09-10 16:44:28 +02:00
|
|
|
before_install: ci/install-dependencies.sh
|
|
|
|
before_script: ci/run-build.sh
|
|
|
|
script: ci/run-tests.sh
|
|
|
|
after_failure: ci/print-test-failures.sh
|
2015-11-27 10:23:27 +01:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|