uvg266/.travis.yml

54 lines
1.1 KiB
YAML
Raw Normal View History

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: KVZ_TEST_VALGRIND=1
# We have some Mac specific code and Mac sometimes has odd build issues.
2016-02-17 15:47:36 +00:00
- os: osx
compiler: clang # gcc is actually clang on Travis OS X
install: true
script:
2015-12-21 12:59:09 +00:00
- ./autogen.sh
- ./configure --enable-werror
- make --jobs=2 V=1
- make check TESTS=kvazaar_tests
install: bash .travis-install.bash
script:
- ./autogen.sh
- ./configure --enable-werror
- 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