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