forked from ultravideo/kvazaar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (42 loc) · 1.14 KB
/
.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
45
46
47
48
49
50
51
52
53
language: c
# Use container based infrastructure.
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- autoconf
- gcc-4.8
- libtool
- valgrind
- yasm
matrix:
fast_finish: true
include:
- compiler: clang
env: KVZ_TEST_VALGRIND=1
- compiler: clang
env: CFLAGS='-fsanitize=thread'
- compiler: clang
env: CFLAGS='-fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=alignment'
- compiler: gcc-4.8
env: CFLAGS='-fsanitize=address'
# We have some Mac specific code and Mac sometimes has odd build issues.
- os: osx
compiler: clang # gcc is actually clang on Travis OS X
install: true
script:
- ./autogen.sh
- ./configure --enable-werror || (cat config.log && false)
- make --jobs=2 V=1
- make check TESTS=kvazaar_tests
install: bash .travis-install.bash
script:
- ./autogen.sh
- ./configure --enable-werror || (cat config.log && false)
- make --jobs=2 V=1
- make check VERBOSE=1
after_script:
# Disable errors to work around Travis not knowing how to fix their stuff.
- set +e