-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (49 loc) · 2.22 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
54
language: c
sudo: false
python:
- 3.6
compiler:
- clang
- gcc
os:
- linux
- osx
env:
global:
- secure: "fKqQXaILVkLVxGKZImTZtCUGr8YXdmNU2VRl+tPBJE866pt1X6FXJ4IVnbE32NTsWiBvkmgy0Y690wF9Lt5L4DatIrINLBTVnHsWjsO8F1kpfTYsK00umXdbj0W0Paba9JH/6erYsEKWrfoR38Hpxt8X+rgZlEO/E+0DDzq8gITdslh3jVp+6wxML5krCQ3KvGQs4KNKHVWhJNVuNYF/DyQmzfBJ98djijL9foC1QrxsuB6KOo93bBiHCYv8Cx0GYFhXFmqDlTqeiioBvu0NMnNBlMm9HXRN6H46RW6L+BnV8trYtuFppXKEquihoGs2wN27FNFs5+N+b/tsSc8lhgEMJcOaDIMPvBEHkcLjpiVDyV9tbsqW9EAWe6vhjlF5CKYxNiEpI1rSSD0dzLdeRV7nDRa1YZDr+v9AbBkrBZSLnQxQBx67B9paNDl+rAOHpl2GbOJaZ7WSdABZWH26LDv9Tav1mIKkKS2McdnYkWajyJH+IIlgtdwATXYlFtwCj51QBLgyd20YuLOFu7oso2bpXJ9pBg1nqCOFCpSfOxhAhEDR2Hv9PCkCJWch20+fLHUqwG62dUHkpsoPKh3Vlxs9bQ1MU5XdkAtIbnbVlKgdcP7jL0GYGZG+WR3s8L2cbToNYtlM2ii1ZvYQe5UCt+PBRqqa9kTBOLzHi64Nd/4="
matrix:
- BLDTYPE=debug
- BLDTYPE=release
matrix:
exclude:
- os: osx
compiler: gcc
before_install:
- test "$TRAVIS_BRANCH" != "coverity_scan" || test "$TRAVIS_OS_NAME" = "linux" -a "$BLDTYPE" = "release" -a "$CC" = "gcc" -a -z "$VG_OPT" || exit 0
- export PATH="`pwd`/build:${PATH}"
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip && unzip -q ninja-linux.zip -d build; fi
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then pyenv global system 3.6; fi
- pip3 install meson
script:
- test "$TRAVIS_BRANCH" != "coverity_scan" || exit 0
- meson --buildtype=${BLDTYPE} build
- ninja -C build
- meson test -C build --print-errorlogs
- if [[ "$BLDTYPE" == "release" ]]; then meson test -C build --benchmark -t 100 --print-errorlogs; fi
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then RNOTIMEOUT=1 meson test -C build --print-errorlogs -t 100 --wrapper='valgrind -q --error-exitcode=42 --tool=memcheck --leak-check=full'; fi
- cat $TRAVIS_BUILD_DIR/build/meson-logs/testlog*.txt
addons:
apt:
packages:
- valgrind
homebrew:
packages:
- ninja
coverity_scan:
project:
name: "ieei/rlib"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "python waf distclean configure"
build_command: "python waf build"
branch_pattern: coverity_scan