2015-11-27 09:23:27 +00:00
|
|
|
language: c
|
|
|
|
|
2016-01-26 09:53:43 +00:00
|
|
|
sudo: false
|
|
|
|
|
2016-01-26 09:53:42 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/travis-cache
|
|
|
|
|
2015-11-27 09:23:27 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- language-pack-is
|
2016-05-19 09:10:08 +00:00
|
|
|
- git-svn
|
2016-05-19 08:45:11 +00:00
|
|
|
- apache2
|
2015-11-27 09:23:27 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
2016-02-25 08:42:22 +00:00
|
|
|
- DEVELOPER=1
|
2016-04-28 06:26:32 +00: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 13:52:41 +00:00
|
|
|
- LINUX_P4_VERSION="16.2"
|
|
|
|
- LINUX_GIT_LFS_VERSION="1.5.2"
|
2015-11-27 09:23:27 +00:00
|
|
|
- DEFAULT_TEST_TARGET=prove
|
2016-01-26 09:53:42 +00:00
|
|
|
- GIT_PROVE_OPTS="--timer --jobs 3 --state=failed,slow,save"
|
2016-10-21 10:48:12 +00:00
|
|
|
- GIT_TEST_OPTS="--verbose-log"
|
2015-11-27 09:23:27 +00: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 08:38:36 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
2017-05-05 15:40:53 +00:00
|
|
|
- env: GETTEXT_POISON=YesPlease
|
|
|
|
os: linux
|
|
|
|
compiler:
|
|
|
|
addons:
|
|
|
|
before_install:
|
2017-03-24 11:37:47 +00: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 18:25:19 +00:00
|
|
|
- env: Linux32
|
|
|
|
os: linux
|
2017-04-11 08:33:09 +00:00
|
|
|
compiler:
|
2017-03-05 18:25:19 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
before_install:
|
|
|
|
before_script:
|
2017-09-10 14:44:28 +00:00
|
|
|
script: ci/run-linux32-docker.sh
|
2017-04-11 07:26:37 +00:00
|
|
|
- env: Static Analysis
|
|
|
|
os: linux
|
|
|
|
compiler:
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- coccinelle
|
|
|
|
before_install:
|
2017-09-10 14:44:28 +00:00
|
|
|
# "before_script" that builds Git is inherited from base job
|
|
|
|
script: ci/run-static-analysis.sh
|
2017-04-11 07:26:37 +00:00
|
|
|
after_failure:
|
2016-05-04 08:38:36 +00:00
|
|
|
- env: Documentation
|
|
|
|
os: linux
|
2017-04-11 08:33:09 +00:00
|
|
|
compiler:
|
2016-05-04 08:38:36 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- asciidoc
|
|
|
|
- xmlto
|
|
|
|
before_install:
|
2017-09-10 14:44:28 +00:00
|
|
|
before_script:
|
2016-05-04 08:38:36 +00:00
|
|
|
script: ci/test-documentation.sh
|
|
|
|
after_failure:
|
|
|
|
|
2017-09-10 14:44:28 +00: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 09:23:27 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|