forked from ccache/ccache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (38 loc) · 901 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: c
addons:
apt:
packages:
- gperf
- elfutils
- zlib1g-dev
- mingw32
- mingw32-binutils
- clang # scan-build
os:
- linux
- osx
compiler:
- clang
- gcc
matrix:
include:
# - os: linux
# compiler: i586-mingw32msvc-gcc
# env: HOST="--host=i586-mingw32msvc" TEST="test/main.exe"
- os: linux
compiler: clang
env: CFLAGS="-fsanitize=undefined" ASAN_OPTIONS="detect_leaks=0"
- os: linux
compiler: clang
env: CFLAGS="-fsanitize=address -g" ASAN_OPTIONS="detect_leaks=0"
- os: linux
compiler: clang
env: PATH="/usr/bin:$PATH" TEST=analyze
exclude:
- os: osx
compiler: gcc
script:
- ./autogen.sh
- ./configure $HOST
- make
- make ${TEST:-test}