libexpat/.travis.yml
Sebastian Pipping d71e3c802a AppVeyor|Travis: Re-introduce clone depth
Depth 1 made surpassed pushed fail so it was dropped.
No depth limit wastes time and hardware resources though, and
has some risk that depth 1 will be re-introduced, by mistake.
So let's try 50 now.

Related commits:
- 10c2354588 — AppVeyor
- 88cf657da9 — Travis
2019-07-22 23:39:56 +02:00

53 lines
1.3 KiB
YAML

# Copyright (C) 2017 Sebastian Pipping <sebastian@pipping.org>
# Licensed under the MIT license
language: cpp
os:
- linux
- osx
dist: trusty
# Unbreak clang address sanitizer, needs SYS_PTRACE
# https://github.com/google/sanitizers/issues/764#issuecomment-276663297
# https://github.com/travis-ci/travis-ci/issues/9033
sudo: required
git:
depth: 50
env:
global:
- CFLAGS='-g -pipe'
matrix:
- MODE=cmake-oos
- MODE=distcheck
- MODE=qa-sh QA_COMPILER=clang CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address
matrix:
include:
- os: linux
env: MODE=cmake-oos CMAKE_ARGS=-DXML_ATTR_INFO=ON
- os: linux
env: MODE=qa-sh QA_COMPILER=clang CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address CONFIGURE_ARGS=--enable-xml-attr-info
- os: linux
env: MODE=qa-sh QA_COMPILER=clang CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=memory
- os: linux
env: MODE=qa-sh QA_COMPILER=clang CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=undefined
- os: linux
env: MODE=qa-sh QA_COMPILER=gcc CC=gcc CXX=g++ LD=ld QA_PROCESSOR=gcov
addons:
homebrew:
update: true
brewfile: true
apt:
packages:
- cmake
- docbook2x
- dos2unix
- lzip
- rpm
script:
- ./.travis.sh