libexpat/.travis.yml
2019-07-10 00:31:19 +02:00

49 lines
1.1 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: 1
env:
global:
- CFLAGS='-g -pipe'
matrix:
- MODE=cmake
- MODE=cmake-oos
- MODE=distcheck
- MODE=qa-sh QA_COMPILER=clang CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address
- MODE=qa-sh QA_COMPILER=clang CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=memory
- MODE=qa-sh QA_COMPILER=clang CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=undefined
- MODE=qa-sh QA_COMPILER=gcc CC=gcc CXX=g++ LD=ld QA_PROCESSOR=gcov
matrix:
exclude:
- os: osx
env: MODE=qa-sh QA_COMPILER=clang CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=memory
addons:
homebrew:
update: true
brewfile: true
apt:
packages:
- cmake
- docbook2x
- dos2unix
- lzip
- rpm
script:
- ./.travis.sh