-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (33 loc) · 1.07 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
sudo: false
os: linux
dist: xenial
language: python
python: 3.7
matrix:
include:
- env: CC=gcc
install:
- meson setup build --warnlevel=3 --werror -Db_sanitize=address
- env: CC=gcc
install:
- meson setup build --warnlevel=3 --werror -Db_sanitize=undefined
- env: CC=clang
install:
- meson setup build --warnlevel=3 --werror -Db_sanitize=address -Db_lundef=false
- env: CC=clang
install:
- meson setup build --warnlevel=3 --werror -Db_sanitize=undefined -Db_lundef=false
- env: CC=gcc
install:
- pip install cpp-coveralls
- meson setup build --warnlevel=3 --werror -Db_coverage=true
after_success:
- coveralls -b ./build --verbose --gcov-options '\-lp' --include src --include tests
before_install:
- wget https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip
- unzip ninja-linux.zip -d ninja
- export PATH="$PWD/ninja:$PATH"
- chmod 755 ninja/ninja
- pip install meson
script:
- meson test -C build --print-errorlogs --timeout-multiplier=10