2018-10-12 18:09:22 +00:00
|
|
|
language: c
|
|
|
|
os: linux
|
2018-10-13 08:23:42 +00:00
|
|
|
sudo: required
|
2018-10-12 18:09:22 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2018-10-13 07:49:48 +00:00
|
|
|
- compiler: gcc-7
|
2018-10-12 18:09:22 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- check
|
|
|
|
- libsubunit-dev
|
2018-10-13 07:27:18 +00:00
|
|
|
- gcc-7
|
2018-10-13 07:49:48 +00:00
|
|
|
env:
|
2018-10-13 08:32:37 +00:00
|
|
|
- LSAN_OPTIONS=verbosity=1:log_threads=1
|
2018-10-13 07:49:48 +00:00
|
|
|
|
2018-10-15 06:58:43 +00:00
|
|
|
- compiler: clang-7
|
2018-10-12 18:09:22 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2018-10-15 06:58:43 +00:00
|
|
|
- llvm-toolchain-trusty-7
|
2018-10-12 18:09:22 +00:00
|
|
|
packages:
|
|
|
|
- check
|
|
|
|
- libsubunit-dev
|
2018-10-15 06:58:43 +00:00
|
|
|
- clang-7
|
2018-10-13 07:49:48 +00:00
|
|
|
env:
|
2018-10-13 08:32:37 +00:00
|
|
|
- LSAN_OPTIONS=verbosity=1:log_threads=1
|
2018-10-12 18:09:22 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- check
|
|
|
|
- libsubunit-dev
|
2018-10-18 08:05:27 +00:00
|
|
|
- ninja-build
|
2018-10-12 18:09:22 +00:00
|
|
|
|
2018-10-18 08:05:27 +00:00
|
|
|
before_install:
|
|
|
|
# Install cmake
|
|
|
|
- wget -O cmake.sh https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh
|
|
|
|
- sudo sh cmake.sh --skip-license --exclude-subdir --prefix=/usr/local
|
|
|
|
|
|
|
|
script:
|
|
|
|
- ./travis.sh
|